Changed printing an empty string to print "0" for files for zero size
authorTon Roosendaal <ton@blender.org>
Tue, 11 May 2004 12:50:04 +0000 (12:50 +0000)
committerTon Roosendaal <ton@blender.org>
Tue, 11 May 2004 12:50:04 +0000 (12:50 +0000)
in file selector.
Thanks Joilnen for pointing to this line.

source/blender/blenlib/intern/storage.c

index 7f7ee79750c0161e8c5849171442839321e4a6a3..76af36335e55d1493cbcca57117e8a829fe6abad 100644 (file)
@@ -384,7 +384,7 @@ void BLI_adddirstrings()
                else if(num3) sprintf(files[num].size, "%7d %03d %03d", num3, num2, num1);
                else if(num2) sprintf(files[num].size, "%11d %03d", num2, num1);
                else if(num1) sprintf(files[num].size, "%15d", num1);
-               else sprintf(files[num].size, "");
+               else sprintf(files[num].size, "0");
 
                strftime(datum, 32, "%d-%b-%y %R", tm);