diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2007-08-12 17:40:46 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2007-08-12 17:40:46 +0000 |
commit | 6a4743a5b8132c70eb5e4df40a11c5bfdf3bcc23 (patch) | |
tree | 2bd384d526827c0d2968f5bb6256e13cd485e4b9 /converter/other/pstopnm.c | |
parent | 20920e2b1a91e5b2eef6ec0055ed7162fe6fab07 (diff) | |
download | netpbm-mirror-6a4743a5b8132c70eb5e4df40a11c5bfdf3bcc23.tar.gz netpbm-mirror-6a4743a5b8132c70eb5e4df40a11c5bfdf3bcc23.tar.xz netpbm-mirror-6a4743a5b8132c70eb5e4df40a11c5bfdf3bcc23.zip |
Convert rest of STREQ to streq
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@375 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other/pstopnm.c')
-rw-r--r-- | converter/other/pstopnm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/converter/other/pstopnm.c b/converter/other/pstopnm.c index a31c3f64..5798e340 100644 --- a/converter/other/pstopnm.c +++ b/converter/other/pstopnm.c @@ -361,7 +361,7 @@ language_declaration(const char input_filespec[], int const verbose) { -----------------------------------------------------------------------------*/ enum postscript_language language; - if (STREQ(input_filespec, "-")) + if (streq(input_filespec, "-")) /* Can't read stdin, because we need it to remain positioned for the Ghostscript interpreter to read it. */ @@ -410,7 +410,7 @@ compute_box_to_extract(struct box const cmdline_extract_box, */ struct box ps_bb; /* Box described by %%BoundingBox stmt in input */ - if (STREQ(input_filespec, "-")) + if (streq(input_filespec, "-")) /* Can't read stdin, because we need it to remain positioned for the Ghostscript interpreter to read it. */ @@ -576,7 +576,7 @@ compute_outfile_arg(const struct cmdlineInfo cmdline) { if (cmdline.goto_stdout) retval = strdup("-"); - else if (STREQ(cmdline.input_filespec, "-")) + else if (streq(cmdline.input_filespec, "-")) retval = strdup("-"); else { char * basename; @@ -584,7 +584,7 @@ compute_outfile_arg(const struct cmdlineInfo cmdline) { basename = strdup(cmdline.input_filespec); if (strlen(basename) > 3 && - STREQ(basename+strlen(basename)-3, ".ps")) + streq(basename+strlen(basename)-3, ".ps")) /* The input filespec ends in ".ps". Chop it off. */ basename[strlen(basename)-3] = '\0'; |