diff options
Diffstat (limited to 'converter/ppm/ppmtompeg/file.c')
-rw-r--r-- | converter/ppm/ppmtompeg/file.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/converter/ppm/ppmtompeg/file.c b/converter/ppm/ppmtompeg/file.c index 223170a4..bc097452 100644 --- a/converter/ppm/ppmtompeg/file.c +++ b/converter/ppm/ppmtompeg/file.c @@ -121,7 +121,7 @@ ChangeDirectory(ClientData nulldata, Tcl_Interp *interp, int argc, fprintf(stderr, "can't open '%s'\n", currentPath); return TCL_OK; /* shouldn't, really */ } - + return TCL_OK; } @@ -164,7 +164,7 @@ ListDirectory(ClientData nulldata, Tcl_Interp *interp, int argc, while ((dp = readdir(dfd)) != NULL) { strcpy(restPtr, dp->d_name); stat(fullName, &stbuf); - + if (dp->d_name[0] != '.') { if (S_ISDIR(stbuf.st_mode)) { sprintf(fileName[fileCount], "%s/", dp->d_name); @@ -263,7 +263,7 @@ SetBrowseGlob(ClientData nulldata, Tcl_Interp *interp, return TCL_OK; } - Tcl_AppendResult(interp, + Tcl_AppendResult(interp, "wrong args: should be \"", argv[0]," string\"", NULL); return TCL_ERROR; @@ -301,3 +301,6 @@ MatchesGlob(char *string, char *glob) { return TRUE; } + + + |