projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gfio: Add Drag'n drop support
[fio.git]
/
tickmarks.c
diff --git
a/tickmarks.c
b/tickmarks.c
index 2959f0267ccb6116f1f8726c51c37f93057b9a75..2605f721f0089de5567f0a1195d6d27e0cc71095 100644
(file)
--- a/
tickmarks.c
+++ b/
tickmarks.c
@@
-51,6
+51,8
@@
static void shorten(struct tickmark *tm, int nticks, int *power_of_ten,
str = tm[i].string;
l = strlen(str);
+ if (strcmp(str, "0") == 0)
+ continue;
if (l > 9 && strcmp(&str[l - 9], "000000000") == 0) {
*power_of_ten = 9;
shorten_char = use_KMG_symbols ? 'G' : '\0';