comparison pidgin/gtkconv.c @ 32822:a1253e91981e

Fix an infinite loop if there's a tag in the theme header that we don't understand.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Fri, 18 Nov 2011 18:22:50 +0000
parents 03efb97b552b
children e2c275816484
comparison
equal deleted inserted replaced
32821:5111d364fa49 32822:a1253e91981e
5097 } 5097 }
5098 replace = purple_utf8_strftime(format ? format : "%X", NULL); 5098 replace = purple_utf8_strftime(format ? format : "%X", NULL);
5099 g_free(format); 5099 g_free(format);
5100 5100
5101 } else { 5101 } else {
5102 cur++;
5102 continue; 5103 continue;
5103 } 5104 }
5104 5105
5105 /* Here we have a replacement to make */ 5106 /* Here we have a replacement to make */
5106 g_string_append_len(str, prev, cur - prev); 5107 g_string_append_len(str, prev, cur - prev);