comparison src/desktopitem.c @ 13442:5de8bf62b8ef

[gaim-migrate @ 15817] fix CID 74, and CID 37 (which could never happen, if I understand the code correctly) committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Tue, 07 Mar 2006 08:02:32 +0000
parents f3768fab10bd
children
comparison
equal deleted inserted replaced
13441:f3768fab10bd 13442:5de8bf62b8ef
721 if (locale != NULL && 721 if (locale != NULL &&
722 strcmp (locale, "C") == 0) { 722 strcmp (locale, "C") == 0) {
723 char *p; 723 char *p;
724 /* Whack C locale */ 724 /* Whack C locale */
725 p = strchr (k, '['); 725 p = strchr (k, '[');
726 *p = '\0'; 726 if(p) *p = '\0';
727 g_free (locale); 727 g_free (locale);
728 } else if (locale != NULL) { 728 } else if (locale != NULL) {
729 char *p, *brace; 729 char *p, *brace;
730 730
731 /* Whack the encoding part */ 731 /* Whack the encoding part */