From 9abfd975913a6111908362dfe8b9fb069f666faf Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sat, 17 Oct 2020 22:04:21 +0000 Subject: 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 --- other/pamarith.c | 10 +++++----- 1 file 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; -- cgit 1.4.1