eliminated compiler warnings
This commit is contained in:
@@ -42,7 +42,7 @@ sprintf_memory(char *dst, double value, double roundlimit)
|
||||
if ((roundlimit <= 0.0) || (roundlimit > 1.0))
|
||||
roundlimit = 0.5;
|
||||
|
||||
while (units[offs] != NULL > 0) {
|
||||
while (units[offs] != NULL) {
|
||||
if (value <= 1024 * roundlimit)
|
||||
break;
|
||||
offs++;
|
||||
|
||||
Reference in New Issue
Block a user