diff options
author | François Revel <mmu_man@netsurf-browser.org> | 2008-08-13 19:35:41 +0000 |
---|---|---|
committer | François Revel <mmu_man@netsurf-browser.org> | 2008-08-13 19:35:41 +0000 |
commit | 44856d86d4efb12e08c8ef7560f39233107dfa8a (patch) | |
tree | 63b13b49ea54c5b2d505f1c77c1cd61c48c57766 /beos/beos_scaffolding.cpp | |
parent | 80c98b869433eb28e31da014b84c6839bc5908e6 (diff) | |
download | netsurf-44856d86d4efb12e08c8ef7560f39233107dfa8a.tar.gz netsurf-44856d86d4efb12e08c8ef7560f39233107dfa8a.tar.bz2 |
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
Diffstat (limited to 'beos/beos_scaffolding.cpp')
-rw-r--r-- | beos/beos_scaffolding.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 <http://www.gnu.org/licenses/>. */ -#include <stdbool.h> +#define __STDBOOL_H__ 1 #include <assert.h> #include <stdio.h> #include <stdlib.h> @@ -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); |