Mercurial > pidgin.yaz
diff src/prefs.c @ 11736:a14d72b6ca41
[gaim-migrate @ 14027]
Get outta my debug window or I'll run ya through!
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 23 Oct 2005 03:51:24 +0000 |
parents | 109ee3bfeac5 |
children | 6f8869d95c09 |
line wrap: on
line diff
--- a/src/prefs.c Sun Oct 23 03:24:53 2005 +0000 +++ b/src/prefs.c Sun Oct 23 03:51:24 2005 +0000 @@ -936,8 +936,6 @@ { struct gaim_pref *oldpref, *newpref; - gaim_debug_info("prefs", "Attempting to rename and toggle %s to %s\n", oldname, newname); - oldpref = find_pref(oldname); newpref = find_pref(newname); @@ -945,6 +943,8 @@ if(!oldpref) return; + gaim_debug_info("prefs", "Renaming and toggling %s to %s\n", oldname, newname); + g_return_if_fail(newpref != NULL); /* the new one needs to be created */ g_return_if_fail(oldpref->type == newpref->type); g_return_if_fail(oldpref->type == GAIM_PREF_BOOLEAN);