diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2017-08-08 15:22:25 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2017-08-08 15:22:25 (GMT) |
commit | fead65ccee0e8edcd121a2e400df1f788398aa5c (patch) | |
tree | 1ebb8881deaa4bb971ad20d14da44dd0a0bf595e | |
parent | 0317e6ceadff99dcd2df3623b7b5f7498c8e6b7a (diff) | |
parent | d89590ef5d51ad0f1af9eeb64077169847fccc44 (diff) | |
download | blt-fead65ccee0e8edcd121a2e400df1f788398aa5c.zip blt-fead65ccee0e8edcd121a2e400df1f788398aa5c.tar.gz blt-fead65ccee0e8edcd121a2e400df1f788398aa5c.tar.bz2 |
Merge commit 'd89590ef5d51ad0f1af9eeb64077169847fccc44'
-rw-r--r-- | tkmpeg/tkmpeg.C | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tkmpeg/tkmpeg.C b/tkmpeg/tkmpeg.C index 1070234..a523119 100644 --- a/tkmpeg/tkmpeg.C +++ b/tkmpeg/tkmpeg.C @@ -73,7 +73,7 @@ TkMPEG::TkMPEG(Tcl_Interp* intp) int TkMPEG::create(int argc, const char* argv[]) { if (argc == 8) { - if (argv[2] == '\0') { + if (*argv[2] == '\0') { Tcl_AppendResult(interp, "bad filename", NULL); return TCL_ERROR; } @@ -127,7 +127,7 @@ TkMPEG::TkMPEG(Tcl_Interp* intp) int TkMPEG::add(int argc, const char* argv[]) { - if (argv[2] == '\0') { + if (*argv[2] == '\0') { Tcl_AppendResult(interp, "bad image name", NULL); return TCL_ERROR; } |