summaryrefslogtreecommitdiff
path: root/src/seq.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/seq.c')
-rw-r--r--src/seq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/seq.c b/src/seq.c
index b073c3c01..6e640a4a7 100644
--- a/src/seq.c
+++ b/src/seq.c
@@ -259,7 +259,7 @@ get_width_format ()
}
sprintf (buffer, "%g", rint (max_val));
- if (buffer[strspn (buffer, "0123456789")] != '\0')
+ if (buffer[strspn (buffer, "-0123456789")] != '\0')
return "%g";
width1 = strlen (buffer);