[gaim-migrate @ 4891]

Sat, 22 Feb 2003 19:56:39 +0000

author
Mark Doliner <markdoliner@pidgin.im>
date
Sat, 22 Feb 2003 19:56:39 +0000
changeset 4604
60d023985222
parent 4603
32a104f6b115
child 4605
67526771e679

[gaim-migrate @ 4891]
A picture is worth 997 words:
http://www.kingant.net/oscar/gaim/gtkft_size_bug.jpeg
http://www.kingant.net/oscar/gaim/gtkft_size_squashed.jpeg

A weeks ago printf and I were... intimate. ... So I knew how to fix
this.

src/gtkft.c file | annotate | diff | comparison | revisions
--- a/src/gtkft.c	Sat Feb 22 19:48:06 2003 +0000
+++ b/src/gtkft.c	Sat Feb 22 19:56:39 2003 +0000
@@ -113,7 +113,7 @@
 			size_index++;
 		}
 
-		return g_strdup_printf("%.3g %s", size_mag, size_str[size_index]);
+		return g_strdup_printf("%.2f %s", size_mag, size_str[size_index]);
 	}
 }
 

mercurial