diff options
Diffstat (limited to 'editor/pnmnorm.c')
-rw-r--r-- | editor/pnmnorm.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/editor/pnmnorm.c b/editor/pnmnorm.c index 2f9a6b20..e0fe0e35 100644 --- a/editor/pnmnorm.c +++ b/editor/pnmnorm.c @@ -274,7 +274,8 @@ minimumValue(const unsigned int * const hist, foundOne = true; else { if (i == highest) - pm_error("INTERNAL ERROR in '%s'. No pixels", __FUNCTION__); + pm_error("INTERNAL ERROR in function 'minimumValue'. " + "No pixels"); else ++i; } @@ -296,7 +297,8 @@ maximumValue(const unsigned int * const hist, foundOne = true; else { if (i == 0) - pm_error("INTERNAL ERROR in '%s'. No pixels", __FUNCTION__); + pm_error("INTERNAL ERROR in function 'maximumValue'. " + "No pixels"); else --i; } |