r22489 by jghali - #15281: Warning: Expression is always false because 'else if' condition matches previous condition
scribus-commit
scribus-commit at lists.scribus.net
Sun Apr 29 00:38:35 UTC 2018
Author: jghali
Date: Sun Apr 29 00:38:35 2018
New Revision: 22489
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22489
Log:
#15281: Warning: Expression is always false because 'else if' condition matches previous condition
Modified:
branches/Version14x/Scribus/scribus/propertiespalette.cpp
Modified: branches/Version14x/Scribus/scribus/propertiespalette.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22489&path=/branches/Version14x/Scribus/scribus/propertiespalette.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/propertiespalette.cpp (original)
+++ branches/Version14x/Scribus/scribus/propertiespalette.cpp Sun Apr 29 00:38:35 2018
@@ -2452,7 +2452,7 @@
m_ScMW->view->RCenter = FPoint(gx + gw / 2.0, gy + gh / 2.0);
else if (bp == 3)
m_ScMW->view->RCenter = FPoint(gx, gy + gh);
- else if (bp == 0)
+ else if (bp == 4)
m_ScMW->view->RCenter = FPoint(gx + gw, gy + gh);
xposLabel->setText( tr( "&X-Pos:" ) );
widthLabel->setText( tr( "&Width:" ) );
More information about the scribus-commit
mailing list