diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-03-22 19:26:36 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-03-22 19:26:36 +0000 |
commit | 4b2ac84233dc464567d1c0b1a500f7ce38a8b3cd (patch) | |
tree | e3244100ca58bc2cd040e2f5cc840ecb5a3dac6b /amiga/theme.c | |
parent | bd663be92766de17e5dbef62ae98ca0cbb26cc7c (diff) | |
download | netsurf-4b2ac84233dc464567d1c0b1a500f7ce38a8b3cd.tar.gz netsurf-4b2ac84233dc464567d1c0b1a500f7ce38a8b3cd.tar.bz2 |
Make struct bitmap private to bitmap.c
Diffstat (limited to 'amiga/theme.c')
-rw-r--r-- | amiga/theme.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/amiga/theme.c b/amiga/theme.c index 6a0d5dac0..97b6bab4f 100644 --- a/amiga/theme.c +++ b/amiga/theme.c @@ -167,10 +167,10 @@ void ami_theme_throbber_setup(void) if(throbber_update_interval == 0) throbber_update_interval = 250; bm = ami_bitmap_from_datatype(throbberfile); - throbber = ami_bitmap_get_native(bm, bm->width, bm->height, NULL); + throbber = ami_bitmap_get_native(bm, bitmap_get_width(bm), bitmap_get_height(bm), NULL); - throbber_width = bm->width / throbber_frames; - throbber_height = bm->height; + throbber_width = bitmap_get_width(bm) / throbber_frames; + throbber_height = bitmap_get_height(bm); throbber_nsbm = bm; } |