Module dpmod: Change committed

havoc at icculus.org havoc at icculus.org
Sat Sep 28 02:45:35 EDT 2002


Commiter   : havoc
CVSROOT    : /cvs/cvsroot/twilight
Module     : dpmod
Commit time: 2002-09-28 06:45:35 UTC

Log message:

whitespace

Modified files:
     qc/sprintnumdigits.qc

------=MIME.cbf5c43ed97a8d76b0825f12f2970377
Content-Type: text/plain; name="dpmod.20020928.064535.havoc.diff"
Content-Disposition: attachment; filename="dpmod.20020928.064535.havoc.diff"
Content-Transfer-Encoding: 8bit

Index: dpmod/qc/sprintnumdigits.qc
diff -u dpmod/qc/sprintnumdigits.qc:1.1.1.1 dpmod/qc/sprintnumdigits.qc:1.2
--- dpmod/qc/sprintnumdigits.qc:1.1.1.1	Thu Sep 19 15:07:49 2002
+++ dpmod/qc/sprintnumdigits.qc	Sat Sep 28 02:45:24 2002
@@ -1,26 +1,26 @@
 float(float num, float digits) padoutnum =
 {
-	local   float   d;
-        d = digits - 1;
+	local float d;
+	d = digits - 1;
 	if (num < 0)
 	{
 		d = d - 1;
 		num = 0 - num;
 	}
-        if (num >= 10) d = d - 1;
-        if (num >= 100) d = d - 1;
-        if (num >= 1000) d = d - 1;
-        if (num >= 10000) d = d - 1;
-        if (num >= 100000) d = d - 1;
-        if (num >= 1000000) d = d - 1;
+	if (num >= 10) d = d - 1;
+	if (num >= 100) d = d - 1;
+	if (num >= 1000) d = d - 1;
+	if (num >= 10000) d = d - 1;
+	if (num >= 100000) d = d - 1;
+	if (num >= 1000000) d = d - 1;
 	return (d);
 };
 
 void(entity ent, float num, float digits) sprintnumdigits =
 {
-	local   float   d;
-	local   string  s;
-        num = floor(num); // remove fraction
+	local float d;
+	local string s;
+	num = floor(num); // remove fraction
 	d = padoutnum(num, digits);
 	while (d > 0)
 	{
@@ -33,8 +33,8 @@
 
 void(entity e, float n) sprintnum =
 {
-        local   string s;
-        s = ftos(n);
-        sprint(e, s);
+	local string s;
+	s = ftos(n);
+	sprint(e, s);
 };
 


More information about the twilight-commits mailing list