diff options
author | Piers Cornwell <piers@gnome.org> | 2004-03-31 06:14:35 +0800 |
---|---|---|
committer | Piers Cornwell <piers@src.gnome.org> | 2004-03-31 06:14:35 +0800 |
commit | 4b16bfef4ab081d2297d40d13084ba469eb9f603 (patch) | |
tree | 619e81d7f7504006044e26f53dbb664667a1366b /embed/mozilla | |
parent | ea2e6c8997a521817ed13ef6ea66ba2791fa2e6b (diff) | |
download | gsoc2013-epiphany-4b16bfef4ab081d2297d40d13084ba469eb9f603.tar gsoc2013-epiphany-4b16bfef4ab081d2297d40d13084ba469eb9f603.tar.gz gsoc2013-epiphany-4b16bfef4ab081d2297d40d13084ba469eb9f603.tar.bz2 gsoc2013-epiphany-4b16bfef4ab081d2297d40d13084ba469eb9f603.tar.lz gsoc2013-epiphany-4b16bfef4ab081d2297d40d13084ba469eb9f603.tar.xz gsoc2013-epiphany-4b16bfef4ab081d2297d40d13084ba469eb9f603.tar.zst gsoc2013-epiphany-4b16bfef4ab081d2297d40d13084ba469eb9f603.zip |
Don't allow a font size less than 1.
2004-03-30 Piers Cornwell <piers@gnome.org>
* data/glade/prefs-dialog.glade:
* embed/mozilla/mozilla-notifiers.cpp: (mozilla_font_size_notifier):
Don't allow a font size less than 1.
Diffstat (limited to 'embed/mozilla')
-rw-r--r-- | embed/mozilla/mozilla-notifiers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/mozilla/mozilla-notifiers.cpp b/embed/mozilla/mozilla-notifiers.cpp index 4372219a4..83c38b5e8 100644 --- a/embed/mozilla/mozilla-notifiers.cpp +++ b/embed/mozilla/mozilla-notifiers.cpp @@ -268,7 +268,7 @@ mozilla_font_size_notifier (GConfClient *client, sprintf (key, "font.%s", pref); - mozilla_prefs_set_int (key, eel_gconf_get_integer (entry->key)); + mozilla_prefs_set_int (key, MAX (eel_gconf_get_integer (entry->key), 1)); } static void |