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_font.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_font.cpp')
-rw-r--r-- | beos/beos_font.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/beos/beos_font.cpp b/beos/beos_font.cpp index 81c66b4bb..70c5be84f 100644 --- a/beos/beos_font.cpp +++ b/beos/beos_font.cpp @@ -24,6 +24,7 @@ */ +#define __STDBOOL_H__ 1 #include <stdbool.h> #include <assert.h> #include <stdio.h> @@ -353,7 +354,7 @@ bool nsfont_paint(const struct css_style *style, view->DrawString(line.String(), where); view->SetDrawingMode(oldmode); - if (oldbg != background) + if (memcmp(&oldbg, &background, sizeof(rgb_color))) view->SetLowColor(oldbg); //nsbeos_current_gc_unlock(); |