aboutsummaryrefslogtreecommitdiff
path: root/dw/ooffloatsmgr.cc
diff options
context:
space:
mode:
authorClaes Nästén <pekdon@gmail.com>2025-02-19 00:04:06 +0100
committerRodrigo Arias Mallo <rodarima@gmail.com>2025-02-19 00:04:06 +0100
commit20ad6f765ed229411bb0b26c3cebcaa03346e739 (patch)
tree9bfdb26153eafc70be46f80b03869bf8733c629a /dw/ooffloatsmgr.cc
parent7a595afa37423b99f79efbbbb2241090cb56653a (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/ooffloatsmgr.cc')
-rw-r--r--dw/ooffloatsmgr.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/ooffloatsmgr.cc b/dw/ooffloatsmgr.cc
index a3175081..08a74924 100644
--- a/dw/ooffloatsmgr.cc
+++ b/dw/ooffloatsmgr.cc
@@ -1282,7 +1282,7 @@ bool OOFFloatsMgr::affectsLeftBorder (core::Widget *widget)
bool OOFFloatsMgr::affectsRightBorder (core::Widget *widget)
{
return widget->getStyle()->vloat == core::style::FLOAT_RIGHT;
-};
+}
bool OOFFloatsMgr::mayAffectBordersAtAll ()
{