about summary refs log tree commit diff
path: root/editor/pamscale.c
diff options
context:
space:
mode:
Diffstat (limited to 'editor/pamscale.c')
-rw-r--r--editor/pamscale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/pamscale.c b/editor/pamscale.c
index 98a78d2e..23fe2707 100644
--- a/editor/pamscale.c
+++ b/editor/pamscale.c
@@ -584,7 +584,7 @@ parseScaleParms(int                   const argc,
     else {
         cmdlineP->xscale = cmdlineP->yscale = atof(argv[1]);
         
-        if (cmdlineP->xscale == 0.0)
+        if (cmdlineP->xscale <= 0.0)
             pm_error("The scale parameter %s is not a positive number.",
                      argv[1]);
         else {