aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/mozilla-notifiers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'embed/mozilla/mozilla-notifiers.cpp')
-rw-r--r--embed/mozilla/mozilla-notifiers.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/embed/mozilla/mozilla-notifiers.cpp b/embed/mozilla/mozilla-notifiers.cpp
index d8e63023d..e267d3423 100644
--- a/embed/mozilla/mozilla-notifiers.cpp
+++ b/embed/mozilla/mozilla-notifiers.cpp
@@ -245,6 +245,8 @@ mozilla_font_size_notifier (GConfClient *client,
{
char key[255];
+ if (entry->value == NULL) return;
+
sprintf (key, "font.%s", pref);
mozilla_prefs_set_int (key, eel_gconf_get_integer (entry->key));
@@ -314,6 +316,8 @@ mozilla_font_notifier (GConfClient *client,
{
char key[255];
char *name;
+
+ if (entry->value == NULL) return;
sprintf (key, "font.name.%s", pref);