X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Fshowfile.c;h=594b269f2cbc8375f2acd220d0be871d43c18850;hb=d3ba09a465cb0e5fc9a74d0b152a7ed965f895cb;hp=78eea645a24d1fea7a6078ceff37b981c0a1faa7;hpb=b0b1dd37ff515578cf7cba51625189eb34a196cb;p=mmh diff --git a/sbr/showfile.c b/sbr/showfile.c index 78eea64..594b269 100644 --- a/sbr/showfile.c +++ b/sbr/showfile.c @@ -24,7 +24,7 @@ showfile(char **arg, char *file) ** then really invoked the mhlproc instead ** (which is usually mhl anyway). */ - if (!strcmp(mhbasename(lproc), "mhl")) + if (strcmp(mhbasename(lproc), "mhl")==0) lproc = mhlproc; switch (pid = fork()) { @@ -46,7 +46,7 @@ showfile(char **arg, char *file) } } if (isdraft) { - if (!strcmp(vec[0], "show")) + if (strcmp(vec[0], "show")==0) vec[vecp++] = "-file"; vec[vecp++] = file; }