Mercurial > pidgin
diff libgaim/protocols/yahoo/util.c @ 14842:852803694be3
[gaim-migrate @ 17611]
sf patch #1582046, from Henning Noren
"This patch removes a unused array and makes some other
static const. These small changes moves 14 memory pages
from private to shared on my system."
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 28 Oct 2006 20:38:25 +0000 |
parents | baf9f997746c |
children |
line wrap: on
line diff
--- a/libgaim/protocols/yahoo/util.c Sat Oct 28 20:11:46 2006 +0000 +++ b/libgaim/protocols/yahoo/util.c Sat Oct 28 20:38:25 2006 +0000 @@ -342,7 +342,7 @@ /* borrowed from gtkimhtml */ #define MAX_FONT_SIZE 7 #define POINT_SIZE(x) (_point_sizes [MIN ((x > 0 ? x : 1), MAX_FONT_SIZE) - 1]) -static gint _point_sizes [] = { 8, 10, 12, 14, 20, 30, 40 }; +static const gint _point_sizes [] = { 8, 10, 12, 14, 20, 30, 40 }; enum fatype { size, color, face, junk }; typedef struct {