diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2020-10-17 22:04:21 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2020-10-17 22:04:21 +0000 |
commit | 9abfd975913a6111908362dfe8b9fb069f666faf (patch) | |
tree | e0bbcaa06aec3b1fe1a7a42941a2ab5c83a36467 /other | |
parent | 42f7e29d322e415334b3f001c9fb95840d0ee42a (diff) | |
download | netpbm-mirror-9abfd975913a6111908362dfe8b9fb069f666faf.tar.gz netpbm-mirror-9abfd975913a6111908362dfe8b9fb069f666faf.tar.xz netpbm-mirror-9abfd975913a6111908362dfe8b9fb069f666faf.zip |
Fix bug in undocumented multi-argument function
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3974 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'other')
-rw-r--r-- | other/pamarith.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/other/pamarith.c b/other/pamarith.c index c67c7326..180dbe23 100644 --- a/other/pamarith.c +++ b/other/pamarith.c @@ -23,21 +23,21 @@ isDyadic(enum function const function) { switch (function) { case FN_ADD: + case FN_MULTIPLY: + case FN_MINIMUM: + case FN_MAXIMUM: case FN_MEAN: case FN_AND: + case FN_NAND: case FN_OR: + case FN_NOR: case FN_XOR: retval = FALSE; break; case FN_SUBTRACT: case FN_DIFFERENCE: - case FN_MINIMUM: - case FN_MAXIMUM: case FN_COMPARE: - case FN_MULTIPLY: case FN_DIVIDE: - case FN_NAND: - case FN_NOR: case FN_SHIFTLEFT: case FN_SHIFTRIGHT: retval = TRUE; |