about summary refs log tree commit diff
path: root/converter/ppm/ppmtoarbtxt.c
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2007-07-21 21:50:47 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2007-07-21 21:50:47 +0000
commite6ed14879751efe980590dcd0431a031a4ab0895 (patch)
tree64be9cc5e0414f1bd9164b5ab1870994dfc419bd /converter/ppm/ppmtoarbtxt.c
parent026502e4d4d08bd61bf44f93cd1dd510ebddf0b7 (diff)
downloadnetpbm-mirror-e6ed14879751efe980590dcd0431a031a4ab0895.tar.gz
netpbm-mirror-e6ed14879751efe980590dcd0431a031a4ab0895.tar.xz
netpbm-mirror-e6ed14879751efe980590dcd0431a031a4ab0895.zip
Change some STREQ to streq
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@361 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/ppm/ppmtoarbtxt.c')
-rw-r--r--converter/ppm/ppmtoarbtxt.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/converter/ppm/ppmtoarbtxt.c b/converter/ppm/ppmtoarbtxt.c
index 774a47c4..eaeff70f 100644
--- a/converter/ppm/ppmtoarbtxt.c
+++ b/converter/ppm/ppmtoarbtxt.c
@@ -294,20 +294,20 @@ SKL_OBJ **skl;
    sscanf (objstr,"%s",typstr);
 
                    /* Check for integer colors */
-   if      (STREQ(typstr,"ired")  ) otyp = IRED;
-   else if (STREQ(typstr,"igreen")) otyp = IGREEN;
-   else if (STREQ(typstr,"iblue") ) otyp = IBLUE;
-   else if (STREQ(typstr,"ilum")  ) otyp = ILUM;
+   if      (streq(typstr,"ired")  ) otyp = IRED;
+   else if (streq(typstr,"igreen")) otyp = IGREEN;
+   else if (streq(typstr,"iblue") ) otyp = IBLUE;
+   else if (streq(typstr,"ilum")  ) otyp = ILUM;
                    /* Check for real colors */
-   else if (STREQ(typstr,"fred")  ) otyp = FRED;
-   else if (STREQ(typstr,"fgreen")) otyp = FGREEN;
-   else if (STREQ(typstr,"fblue") ) otyp = FBLUE;
-   else if (STREQ(typstr,"flum")  ) otyp = FLUM;
+   else if (streq(typstr,"fred")  ) otyp = FRED;
+   else if (streq(typstr,"fgreen")) otyp = FGREEN;
+   else if (streq(typstr,"fblue") ) otyp = FBLUE;
+   else if (streq(typstr,"flum")  ) otyp = FLUM;
                    /* Check for integer data */
-   else if (STREQ(typstr,"width") ) otyp = WIDTH;
-   else if (STREQ(typstr,"height")) otyp = HEIGHT;
-   else if (STREQ(typstr,"posx")  ) otyp = POSX;
-   else if (STREQ(typstr,"posy")  ) otyp = POSY;
+   else if (streq(typstr,"width") ) otyp = WIDTH;
+   else if (streq(typstr,"height")) otyp = HEIGHT;
+   else if (streq(typstr,"posx")  ) otyp = POSX;
+   else if (streq(typstr,"posy")  ) otyp = POSY;
    else                                    otyp = BDATA;
 
    if ((otyp == IRED) || (otyp == IGREEN) || (otyp == IBLUE) || (otyp == ILUM))