1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-13 19:52:20 +00:00

dtopen: fix the syntax errors of comment.

This commit is contained in:
Liang Chang 2020-12-29 00:20:37 +08:00
parent d98b2c4c34
commit bc39b47162

View file

@ -50,8 +50,8 @@ XCOMM ## Utility Functions
XCOMM ## Find the path of a program XCOMM ## Find the path of a program
FindProg() FindProg()
{ {
# FindProg "program" XCOMM FindProg "program"
# - returns full path, or "" XCOMM - returns full path, or ""
whence "$1" whence "$1"
@ -61,8 +61,8 @@ FindProg()
XCOMM ## Show an error message XCOMM ## Show an error message
ErrorMsg() ErrorMsg()
{ {
# ErrorMsg "Title "Message" ["OK"] XCOMM ErrorMsg "Title "Message" ["OK"]
# use dterror.ds to display it... XCOMM use dterror.ds to display it...
if [ -z "$3" ] if [ -z "$3" ]
then # default to 'OK' then # default to 'OK'
@ -79,7 +79,7 @@ ErrorMsg()
XCOMM ## do a simple command XCOMM ## do a simple command
DoSimpleCmd() DoSimpleCmd()
{ {
# DoSimpleCmd "commands" args XCOMM DoSimpleCmd "commands" args
didone=0 didone=0
cmds="$1" cmds="$1"
@ -131,7 +131,7 @@ case $APPNAME in
DoSimpleCmd "$VVIDEO" "$*" DoSimpleCmd "$VVIDEO" "$*"
;; ;;
*) *)
# Unknown XCOMM Unknown
ErrorMsg "${DTOPEN}: Unknown Helper Application" \ ErrorMsg "${DTOPEN}: Unknown Helper Application" \
"\"$APPNAME\" is not a recognized Helper Application. \nKnown Helper Applications are:\n\n$COMMANDS" "\"$APPNAME\" is not a recognized Helper Application. \nKnown Helper Applications are:\n\n$COMMANDS"
;; ;;