changeset 10569:12349012610b

[gaim-migrate @ 11957] This fixes a crash for the size being > 1024 GB. committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Thu, 03 Feb 2005 22:36:56 +0000
parents fed2a7c2471d
children 2b05acfeec65
files src/util.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/util.c	Thu Feb 03 19:47:52 2005 +0000
+++ b/src/util.c	Thu Feb 03 22:36:56 2005 +0000
@@ -2559,7 +2559,7 @@
 	else {
 		size_mag = (float)size;
 
-		while ((size_index < 4) && (size_mag > 1024)) {
+		while ((size_index < 3) && (size_mag > 1024)) {
 			size_mag /= 1024;
 			size_index++;
 		}