svn commit: trunk/busybox/libbb

vda at busybox.net vda at busybox.net
Tue Aug 28 20:04:18 UTC 2007


Author: vda
Date: 2007-08-28 13:04:15 -0700 (Tue, 28 Aug 2007)
New Revision: 19720

Log:
smart_ulltoa5: emit small letters k,m,g... - makes top
more readable



Modified:
   trunk/busybox/libbb/xfuncs.c


Changeset:
Modified: trunk/busybox/libbb/xfuncs.c
===================================================================
--- trunk/busybox/libbb/xfuncs.c	2007-08-28 19:36:40 UTC (rev 19719)
+++ trunk/busybox/libbb/xfuncs.c	2007-08-28 20:04:15 UTC (rev 19720)
@@ -323,7 +323,8 @@
 		}
 		buf[2] = "0123456789"[v];
 		// see http://en.wikipedia.org/wiki/Tera
-		buf[3] = " kMGTPEZY"[idx];
+		// (small letters stand out better versus numbers)
+		buf[3] = " kmgtpezy"[idx];
 	}
 	buf[4] = '\0';
 }




More information about the busybox-cvs mailing list