about summary refs log tree commit diff
path: root/editor/ppmcolormask.c
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2007-08-26 21:44:03 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2007-08-26 21:44:03 +0000
commitd3a5144876c052c721c19f85f8275174630f9461 (patch)
treec80c9a1bcf36cc4f7a6d41e8526a1bc0ba110bfd /editor/ppmcolormask.c
parent144f2c5647e0139208e4da9b7ae900281b0f03d1 (diff)
downloadnetpbm-mirror-d3a5144876c052c721c19f85f8275174630f9461.tar.gz
netpbm-mirror-d3a5144876c052c721c19f85f8275174630f9461.tar.xz
netpbm-mirror-d3a5144876c052c721c19f85f8275174630f9461.zip
Replace macros with inline functions
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@386 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'editor/ppmcolormask.c')
-rw-r--r--editor/ppmcolormask.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/ppmcolormask.c b/editor/ppmcolormask.c
index 57e5c825..eed64c19 100644
--- a/editor/ppmcolormask.c
+++ b/editor/ppmcolormask.c
@@ -60,7 +60,7 @@ parseColorOpt(const char *         const colorOpt,
         const char * token;
         token = strsepN(&cursor, ",");
         if (token) {
-            if (STRNEQ(token, "bk:", 3)) {
+            if (strneq(token, "bk:", 3)) {
                 cmdlineP->maskColor[colorCount].matchType = MATCH_BK;
                 cmdlineP->maskColor[colorCount].u.bkColor =
                     ppm_bk_color_from_name(&token[3]);