r24921 by jghali - #16737: Hyphenation stop being applied after conditional hyphen

scribus-commit scribus-commit at lists.scribus.net
Sun Feb 6 19:14:46 UTC 2022


Author: jghali
Date: Sun Feb  6 19:14:45 2022
New Revision: 24921

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24921
Log:
#16737: Hyphenation stop being applied after conditional hyphen

Modified:
    trunk/Scribus/scribus/hyphenator.cpp

Modified: trunk/Scribus/scribus/hyphenator.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24921&path=/trunk/Scribus/scribus/hyphenator.cpp
==============================================================================
--- trunk/Scribus/scribus/hyphenator.cpp	(original)
+++ trunk/Scribus/scribus/hyphenator.cpp	Sun Feb  6 19:14:45 2022
@@ -169,7 +169,7 @@
 			QString word = text.mid(firstC, countC);
 			QString wordLower = QLocale(style.language()).toLower(word);
 			if (wordLower.contains(SpecialChars::SHYPHEN))
-				break;
+				continue;
 
 			bool ok = loadDict(style.language());
 			if (!ok)




More information about the scribus-commit mailing list