diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/misc.c b/apps/misc.c index 0ab26b0831..c35e2c5001 100644 --- a/apps/misc.c +++ b/apps/misc.c | |||
@@ -125,7 +125,7 @@ char *output_dyn_value(char *buf, int buf_size, int value, | |||
125 | 125 | ||
126 | if (buf) | 126 | if (buf) |
127 | { | 127 | { |
128 | if (strlen(tbuf)) | 128 | if (*tbuf) |
129 | snprintf(buf, buf_size, "%d%s%s%s", value, str(LANG_POINT), | 129 | snprintf(buf, buf_size, "%d%s%s%s", value, str(LANG_POINT), |
130 | tbuf, P2STR(units[unit_no])); | 130 | tbuf, P2STR(units[unit_no])); |
131 | else | 131 | else |