| | @@ -923,17 +923,17 @@ |
| 923 | 923 | blob_appendf(&script, "set fossilcmd {| \"%/\" %s --html -y -i -v", |
| 924 | 924 | g.nameOfExe, zSubCmd); |
| 925 | 925 | for(i=firstArg; i<g.argc; i++){ |
| 926 | 926 | const char *z = g.argv[i]; |
| 927 | 927 | if( z[0]=='-' ){ |
| 928 | | - if( !sqlite3_strglob("*-html",z) ) continue; |
| 929 | | - if( !sqlite3_strglob("*-y",z) ) continue; |
| 930 | | - if( !sqlite3_strglob("*-i",z) ) continue; |
| 928 | + if( sqlite3_strglob("*-html",z)==0 ) continue; |
| 929 | + if( sqlite3_strglob("*-y",z)==0 ) continue; |
| 930 | + if( sqlite3_strglob("*-i",z)==0 ) continue; |
| 931 | 931 | /* The undocumented --script FILENAME option causes the Tk script to |
| 932 | 932 | ** be written into the FILENAME instead of being run. This is used |
| 933 | 933 | ** for testing and debugging. */ |
| 934 | | - if( !sqlite3_strglob("*-script",z) && i<g.argc-1 ){ |
| 934 | + if( sqlite3_strglob("*-script",z)==0 && i<g.argc-1 ){ |
| 935 | 935 | i++; |
| 936 | 936 | zTempFile = g.argv[i]; |
| 937 | 937 | continue; |
| 938 | 938 | } |
| 939 | 939 | } |
| 940 | 940 | |