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

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


Author: jghali
Date: Sun Feb  6 19:14:12 2022
New Revision: 24920

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

Modified:
    branches/Version15x/Scribus/scribus/hyphenator.cpp

Modified: branches/Version15x/Scribus/scribus/hyphenator.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24920&path=/branches/Version15x/Scribus/scribus/hyphenator.cpp
==============================================================================
--- branches/Version15x/Scribus/scribus/hyphenator.cpp	(original)
+++ branches/Version15x/Scribus/scribus/hyphenator.cpp	Sun Feb  6 19:14:12 2022
@@ -168,7 +168,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