diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2007-09-26 20:20:52 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2007-09-26 20:20:52 +0000 |
commit | 2087fc45bd38ac1dd3b90789c5bfb94f2dbbad94 (patch) | |
tree | b062862164ab41e78b5efc436330db65cb2887f9 /converter/ppm/sldtoppm.c | |
parent | 68256547a054109f09c55e2e913df2dfdd2144ff (diff) | |
download | netpbm-mirror-2087fc45bd38ac1dd3b90789c5bfb94f2dbbad94.tar.gz netpbm-mirror-2087fc45bd38ac1dd3b90789c5bfb94f2dbbad94.tar.xz netpbm-mirror-2087fc45bd38ac1dd3b90789c5bfb94f2dbbad94.zip |
Rebase 'advanced' to 10.40.00
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@416 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/ppm/sldtoppm.c')
-rw-r--r-- | converter/ppm/sldtoppm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/converter/ppm/sldtoppm.c b/converter/ppm/sldtoppm.c index e0760448..ad16a649 100644 --- a/converter/ppm/sldtoppm.c +++ b/converter/ppm/sldtoppm.c @@ -194,7 +194,7 @@ slidefind(const char * const sname, /* Read slide library header and verify. */ if ((fread(libent, 32, 1, slfile) != 1) || - (!STREQ((char *)libent, "AutoCAD Slide Library 1.0\015\012\32"))) { + (!streq((char *)libent, "AutoCAD Slide Library 1.0\015\012\32"))) { pm_error("not an AutoCAD slide library file."); } pos = 32; @@ -212,7 +212,7 @@ slidefind(const char * const sname, pos += 36; if (dironly) { pm_message(" %s", libent); - } else if (STREQ((char *)libent, uname)) { + } else if (streq((char *)libent, uname)) { long dpos = (((((libent[35] << 8) | libent[34]) << 8) | libent[33]) << 8) | libent[32]; if ((slfile == stdin) || (fseek(slfile, dpos, 0) == -1)) { @@ -341,7 +341,7 @@ slider(slvecfn slvec, /* Verify that slide format is compatible with this program. */ - if (STREQ(slfrof.slh, slhi.slh)) + if (streq(slfrof.slh, slhi.slh)) pm_error("this is not an AutoCAD slide file."); /* Verify that the number format and file level in the header are |