From 44856d86d4efb12e08c8ef7560f39233107dfa8a Mon Sep 17 00:00:00 2001 From: François Revel Date: Wed, 13 Aug 2008 19:35:41 +0000 Subject: Fix the BeOS build: - hack to work around stdbool.h issue with R5 devkit - fix prototypes - fix bitmap code - fix copy-paste on forward button - remove unused gif throbber loading code - R5 rgb_color doesn't have != operator, use memcmp() - switch back to file based [beos]default.css for the time being - realpath() hack for R5 Regressions: - asserts on haiku-os.org - no libns* yet, so less image support - text field input doesn't work anymore. svn path=/trunk/netsurf/; revision=5109 --- beos/beos_scaffolding.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'beos/beos_scaffolding.cpp') diff --git a/beos/beos_scaffolding.cpp b/beos/beos_scaffolding.cpp index 3ef8db800..430a47e6f 100644 --- a/beos/beos_scaffolding.cpp +++ b/beos/beos_scaffolding.cpp @@ -17,7 +17,7 @@ * along with this program. If not, see . */ -#include +#define __STDBOOL_H__ 1 #include #include #include @@ -539,7 +539,7 @@ void nsbeos_scaffolding_dispatch_event(nsbeos_scaffolding *scaffold, BMessage *m nsbeos_window_update_back_forward(scaffold); break; case 'forw': - if (!history_back_available(bw->history)) + if (!history_forward_available(bw->history)) break; history_forward(bw, bw->history); nsbeos_window_update_back_forward(scaffold); -- cgit v1.2.3