changeset 5825:729e688fd2e7

[gaim-migrate @ 6255] Segfault fix. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Mon, 09 Jun 2003 20:34:58 +0000
parents c93884a14866
children bd0d0e89cac3
files src/gtkprefs.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkprefs.c	Mon Jun 09 20:20:29 2003 +0000
+++ b/src/gtkprefs.c	Mon Jun 09 20:34:58 2003 +0000
@@ -1280,7 +1280,7 @@
 			browsers = g_list_prepend(browsers,
 									  possible_browsers[i].command);
 			browsers = g_list_prepend(browsers, _(possible_browsers[i].name));
-			if(!strcmp(possible_browsers[i].command, browser_setting))
+			if(browser_setting && !strcmp(possible_browsers[i].command, browser_setting))
 				browser_setting = NULL;
 		}
 	}