diff options
-rw-r--r-- | dw/ooffloatsmgr.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dw/ooffloatsmgr.cc b/dw/ooffloatsmgr.cc index c5979104..65c6c3ed 100644 --- a/dw/ooffloatsmgr.cc +++ b/dw/ooffloatsmgr.cc @@ -1050,10 +1050,11 @@ int OOFFloatsMgr::getBorder (Side side, int y, int h, OOFAwareWidget *lastGB, break; case RIGHT: - w = container->getGeneratorWidth () - x; + w = container->getGeneratorWidth (); thisBorder = w - x; DBG_OBJ_MSGF ("border", 1, "thisBorder = %d - %d = %d", w, x, thisBorder); + break; default: assertNotReached (); |