diff options
author | Ole Loots <ole@monochrom.net> | 2012-01-06 23:29:58 +0000 |
---|---|---|
committer | Ole Loots <ole@monochrom.net> | 2012-01-06 23:29:58 +0000 |
commit | 2ee9f1d9258c92a8395ed5e4c5f97e78cd5c894e (patch) | |
tree | ca334249a5e8d2cddbe5f0049e4e48bcf43d3f36 /atari | |
parent | be2d2b4ceae826e23b79e20d43bf9c9102840164 (diff) | |
download | netsurf-2ee9f1d9258c92a8395ed5e4c5f97e78cd5c894e.tar.gz netsurf-2ee9f1d9258c92a8395ed5e4c5f97e78cd5c894e.tar.bz2 |
fix enable/disable of checkbox when font renderer is changed.
svn path=/trunk/netsurf/; revision=13388
Diffstat (limited to 'atari')
-rw-r--r-- | atari/settings.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/atari/settings.c b/atari/settings.c index 6fbc0c135..b5361d5fd 100644 --- a/atari/settings.c +++ b/atari/settings.c @@ -59,7 +59,7 @@ static int buts[] = { #define ENABLE_OBJ(idx) SET_BIT(dlgtree[idx].ob_state, DISABLED, 0); \ ObjcDraw( OC_FORM, dlgwin, idx, 1 ) -#define FORMEVENT(idx) form_event( NULL, idx, 1, NULL ); +#define FORMEVENT(idx) form_event( NULL, idx, 0, NULL ); #define INPUT_HOMEPAGE_URL_MAX_LEN 44 #define INPUT_LOCALE_MAX_LEN 6 @@ -208,7 +208,7 @@ static void __CDECL clear_history( WINDOW *win, int index, int unused, } static void __CDECL -form_event( WINDOW *win, int index, int intern, void *unused2) +form_event( WINDOW *win, int index, int external, void *unused2) { char spare[255]; bool is_button = false; @@ -266,7 +266,7 @@ form_event( WINDOW *win, int index, int intern, void *unused2) break; case CHOICES_BT_SEL_FONT_RENDERER: - if( !intern ){ + if( external ){ objc_offset( FORM(win), CHOICES_BT_SEL_FONT_RENDERER, &x, &y);
choice = MenuPopUp ( font_driver_items, x, y, num_font_drivers, |