OS3 build fixes

This commit is contained in:
Chris Young 2016-01-16 19:37:39 +00:00
parent 06b50d9bbd
commit 132be1eed2
4 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@ CFLAGS += -std=c99 -Dnsamiga
ifneq ($(SUBTARGET),os3)
CFLAGS += -O2 -finline-functions -U__STRICT_ANSI__ -D__USE_INLINE__ -D__USE_BASETYPE__
else
CFLAGS += -m68020-60 -O0 -DPATH_MAX=1024 -D__m68k__
CFLAGS += -msoft-float -m68020-60 -O0 -DPATH_MAX=1024 -D__m68k__
endif
NETSURF_FEATURE_ROSPRITE_CFLAGS := -DWITH_NSSPRITE

View File

@ -41,7 +41,7 @@ void ami_font_setdevicedpi(int id)
if(nsoption_bool(bitmap_fonts) == true) {
LOG("WARNING: Using diskfont.library for text. Forcing DPI to 72.");
nsoption_int(screen_ydpi) = 72;
nsoption_set_int(screen_ydpi, 72);
}
browser_set_dpi(nsoption_int(screen_ydpi));

View File

@ -171,7 +171,7 @@ void ami_font_cache_insert(struct ami_font_cache_node *nodedata, const char *fon
#ifndef __amigaos4__
struct nsObject *node = AddObject(ami_font_cache_list, AMINS_FONT);
if(node) {
ObjectCallback(ami_font_bullet_close);
ObjectCallback(node, ami_font_bullet_close);
node->objstruct = nodedata;
node->dtz_Node.ln_Name = strdup(font);
}

View File

@ -562,7 +562,7 @@ static nserror ami_set_options(struct nsoption_s *defaults)
nsoption_set_bool(font_antialiasing, false);
nsoption_set_bool(truecolour_mouse_pointers, false);
nsoption_set_bool(use_openurl_lib, true);
nsoption_set_bool(use_diskfont, true);
nsoption_set_bool(bitmap_fonts, true);
#endif
if((!nsoption_charp(accept_language)) ||