diff options
Diffstat (limited to 'converter/other/pamtouil.c')
-rw-r--r-- | converter/other/pamtouil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/converter/other/pamtouil.c b/converter/other/pamtouil.c index f17fd94b..b9972abd 100644 --- a/converter/other/pamtouil.c +++ b/converter/other/pamtouil.c @@ -95,7 +95,7 @@ parseCommandLine(int argc, char ** argv, /* Remove trailing "_icon" */ barPos = strrchr(cmdlineP->outname, '_'); - if (STREQ(barPos, "_icon")) + if (barPos && STREQ(barPos, "_icon")) *barPos = '\0'; } else { if (STREQ(cmdlineP->inputFilespec, "-")) |