diff options
author | Piers Cornwell <piers@gnome.org> | 2004-03-31 23:08:32 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-03-31 23:08:32 +0800 |
commit | 15e89d77da6b8146ae6b53ad6f060602e4872520 (patch) | |
tree | 2a694ba36f0961e386bdf84a06072bb8c4cf05e2 /embed/mozilla | |
parent | 6ef42cdcc21de3408de6929d6d623483a5be60d2 (diff) | |
download | gsoc2013-epiphany-15e89d77da6b8146ae6b53ad6f060602e4872520.tar gsoc2013-epiphany-15e89d77da6b8146ae6b53ad6f060602e4872520.tar.gz gsoc2013-epiphany-15e89d77da6b8146ae6b53ad6f060602e4872520.tar.bz2 gsoc2013-epiphany-15e89d77da6b8146ae6b53ad6f060602e4872520.tar.lz gsoc2013-epiphany-15e89d77da6b8146ae6b53ad6f060602e4872520.tar.xz gsoc2013-epiphany-15e89d77da6b8146ae6b53ad6f060602e4872520.tar.zst gsoc2013-epiphany-15e89d77da6b8146ae6b53ad6f060602e4872520.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 |