# HG changeset patch # User Christian Hammond # Date 1049764031 0 # Node ID 5078f765e3f918f5098d9309eb165917df685a98 # Parent 27e82a85a619c87ffd42fc7030a71abb7f2e6ddc [gaim-migrate @ 5425] Pounces with empty fields for message, sound, or command now pass NULL to those fields when creating the pounce. This eliminates the problem of a default sound (empty field) being read back as a filename of "". committer: Tailor Script diff -r 27e82a85a619 -r 5078f765e3f9 src/gaimrc.c --- a/src/gaimrc.c Tue Apr 08 01:05:08 2003 +0000 +++ b/src/gaimrc.c Tue Apr 08 01:07:11 2003 +0000 @@ -1631,8 +1631,10 @@ old_pounce_opts_to_new(ph->options, &events, &actions); pounce = gaim_gtkpounce_new(account, ph->name, events, actions, - ph->message, ph->command, ph->sound, - (ph->options & 0x100)); + (*ph->message == '\0' ? NULL : ph->message), + (*ph->command == '\0' ? NULL : ph->command), + (*ph->sound == '\0' ? NULL : ph->sound), + (ph->options & 0x100)); g_free(ph); }