From bc39b4716230f1dcdc19778f73db64136a318b21 Mon Sep 17 00:00:00 2001 From: Liang Chang Date: Tue, 29 Dec 2020 00:20:37 +0800 Subject: [PATCH] dtopen: fix the syntax errors of comment. --- cde/programs/dtopen/dtopen.src | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cde/programs/dtopen/dtopen.src b/cde/programs/dtopen/dtopen.src index 4f1d0c9a0..0e1b7eff1 100755 --- a/cde/programs/dtopen/dtopen.src +++ b/cde/programs/dtopen/dtopen.src @@ -50,8 +50,8 @@ XCOMM ## Utility Functions XCOMM ## Find the path of a program FindProg() { - # FindProg "program" - # - returns full path, or "" +XCOMM FindProg "program" +XCOMM - returns full path, or "" whence "$1" @@ -61,8 +61,8 @@ FindProg() XCOMM ## Show an error message ErrorMsg() { - # ErrorMsg "Title "Message" ["OK"] - # use dterror.ds to display it... +XCOMM ErrorMsg "Title "Message" ["OK"] +XCOMM use dterror.ds to display it... if [ -z "$3" ] then # default to 'OK' @@ -79,7 +79,7 @@ ErrorMsg() XCOMM ## do a simple command DoSimpleCmd() { - # DoSimpleCmd "commands" args +XCOMM DoSimpleCmd "commands" args didone=0 cmds="$1" @@ -131,7 +131,7 @@ case $APPNAME in DoSimpleCmd "$VVIDEO" "$*" ;; *) - # Unknown +XCOMM Unknown ErrorMsg "${DTOPEN}: Unknown Helper Application" \ "\"$APPNAME\" is not a recognized Helper Application. \nKnown Helper Applications are:\n\n$COMMANDS" ;;