r22397 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Fri Feb 16 17:55:04 UTC 2018


Author: jghali
Date: Fri Feb 16 17:55:04 2018
New Revision: 22397

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22397
Log:
fix build failure with gcc

Modified:
    trunk/Scribus/scribus/ui/bookmwin.cpp

Modified: trunk/Scribus/scribus/ui/bookmwin.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22397&path=/trunk/Scribus/scribus/ui/bookmwin.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/bookmwin.cpp	(original)
+++ trunk/Scribus/scribus/ui/bookmwin.cpp	Fri Feb 16 17:55:04 2018
@@ -163,7 +163,7 @@
 			ch = str.at(j);
 			if (ch == SpecialChars::OLD_NBSPACE)
 				ch = ' ';
-			if ((ch == "(") || (ch == ")") || (ch == "\\"))
+			if ((ch == '(') || (ch == ')') || (ch == '\\'))
 				title += "\\";
 			text  += ch;
 			title += ch;




More information about the scribus-commit mailing list