diff options
author | Sven Weidauer <sven@5sw.de> | 2018-02-10 00:20:05 +0100 |
---|---|---|
committer | Sven Weidauer <sven@5sw.de> | 2018-02-10 00:20:05 +0100 |
commit | 885c5ac91823b2f3d94e72028f603274d5cb3a42 (patch) | |
tree | 2caeb4ccc21283be8ad458de502234922f6851c7 /frontends/amiga | |
parent | 7b4163e0216538823630113ed7534c319e19c385 (diff) | |
parent | 470dce645bc9cfca1d438f62a8ffe7a6db80a278 (diff) | |
download | netsurf-885c5ac91823b2f3d94e72028f603274d5cb3a42.tar.gz netsurf-885c5ac91823b2f3d94e72028f603274d5cb3a42.tar.bz2 |
Merge remote-tracking branch 'origin/master' into svenw/cocoa
Diffstat (limited to 'frontends/amiga')
-rw-r--r-- | frontends/amiga/theme.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/frontends/amiga/theme.c b/frontends/amiga/theme.c index 5e4be0710..63982c879 100644 --- a/frontends/amiga/theme.c +++ b/frontends/amiga/theme.c @@ -54,7 +54,8 @@ static struct BitMap *throbber = NULL; static struct bitmap *throbber_nsbm = NULL; -static int throbber_frames, throbber_update_interval; +static int throbber_frames = 1; +static int throbber_update_interval; static Object *mouseptrobj[AMI_LASTPOINTER+1]; static struct BitMap *mouseptrbm[AMI_LASTPOINTER+1]; @@ -176,6 +177,7 @@ void ami_theme_throbber_setup(void) ami_get_theme_filename(throbberfile,"theme_throbber",false); throbber_frames=atoi(messages_get("theme_throbber_frames")); + if(throbber_frames == 0) throbber_frames = 1; throbber_update_interval = atoi(messages_get("theme_throbber_delay")); if(throbber_update_interval == 0) throbber_update_interval = 250; |