diff options
author | Claes Nästén <pekdon@gmail.com> | 2025-02-19 00:04:06 +0100 |
---|---|---|
committer | Rodrigo Arias Mallo <rodarima@gmail.com> | 2025-02-19 00:04:06 +0100 |
commit | 20ad6f765ed229411bb0b26c3cebcaa03346e739 (patch) | |
tree | 9bfdb26153eafc70be46f80b03869bf8733c629a /dw/fltkui.cc | |
parent | 7a595afa37423b99f79efbbbb2241090cb56653a (diff) |
Fix build on Solaris 10 and old gcc 4.0.1
Remove extra semicolons and commas, as well as isinf() so it builds and
runs on Solaris 10.
Also add extra fixes for non C++11 courtesy of Sevan Janiyan, making
Dillo compile and run on OS X 10.4 PowerPC with GCC 4.0.1 and 8.5.
Co-authored-by: Sevan Janiyan <venture37@geeklan.co.uk>
Diffstat (limited to 'dw/fltkui.cc')
-rw-r--r-- | dw/fltkui.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dw/fltkui.cc b/dw/fltkui.cc index c650712a..db7c94e2 100644 --- a/dw/fltkui.cc +++ b/dw/fltkui.cc @@ -42,7 +42,7 @@ static Fl_Color fltkui_dimmed(Fl_Color c, Fl_Color bg) { return fl_color_average(c, bg, .33f); -}; +} //---------------------------------------------------------------------------- /* @@ -78,7 +78,7 @@ CustInput2::CustInput2 (int x, int y, int w, int h, const char* l) : placeholder = NULL; showing_placeholder = false; usual_color = FL_BLACK; /* just init until widget style is set */ -}; +} /* * Show normal text. @@ -235,7 +235,7 @@ CustTextEditor::CustTextEditor (int x, int y, int w, int h, const char* l) : buffer(new Fl_Text_Buffer()); usual_color = FL_BLACK; /* just init until widget style is set */ text_copy = NULL; -}; +} CustTextEditor::~CustTextEditor () { |