pidgin/gtkpounce.c

branch
string-comparison-r2
changeset 38258
9a6551eba09c
parent 33794
716cbef8d1c6
child 38259
c593fc9f5438
equal deleted inserted replaced
38257:1a294a6d2a57 38258:9a6551eba09c
313 if (*message == '\0') { 313 if (*message == '\0') {
314 g_free(message); 314 g_free(message);
315 message = NULL; 315 message = NULL;
316 } 316 }
317 if (*command == '\0') command = NULL; 317 if (*command == '\0') command = NULL;
318 if (*sound == '\0' || !strcmp(sound, _("(default)"))) sound = NULL; 318 if (*sound == '\0' || purple_strequal(sound, _("(default)"))) sound = NULL;
319 319
320 /* If the pounce has already been triggered, let's pretend it is a new one */ 320 /* If the pounce has already been triggered, let's pretend it is a new one */
321 if (dialog->pounce != NULL 321 if (dialog->pounce != NULL
322 && g_list_find(purple_pounces_get_all(), dialog->pounce) == NULL) { 322 && g_list_find(purple_pounces_get_all(), dialog->pounce) == NULL) {
323 purple_debug_info("gtkpounce", "Saving pounce that no longer exists; creating new pounce.\n"); 323 purple_debug_info("gtkpounce", "Saving pounce that no longer exists; creating new pounce.\n");

mercurial