Mercurial > pidgin.yaz
changeset 10681:d29fae081061
[gaim-migrate @ 12227]
sf patch #1159244, from Richard Laager
Compile warning fix.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 10 Mar 2005 23:47:30 +0000 |
parents | dcbbad970e0d |
children | c604c88a7530 |
files | src/gtkutils.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkutils.c Thu Mar 10 23:44:16 2005 +0000 +++ b/src/gtkutils.c Thu Mar 10 23:47:30 2005 +0000 @@ -1540,7 +1540,6 @@ else if (g_str_has_suffix(basename, ".desktop") && (item = gaim_desktop_item_new_from_file(filename))) { GaimDesktopItemType dtype; char key[64]; - char *dot; const char *itemname = NULL; #if GTK_CHECK_VERSION(2,6,0) @@ -1554,6 +1553,7 @@ } #else const char *lang = g_getenv("LANG"); + char *dot; dot = strchr(lang, '.'); if (dot) *dot = '\0';