Cleanup: Don't use string literals when character literals are needed

This commit is contained in:
Paul Beckingham
2016-10-14 23:11:28 -04:00
parent 35e518cbc2
commit 814d7d69fa
27 changed files with 122 additions and 122 deletions

View File

@@ -283,7 +283,7 @@ bool extractLine (
// No backtrack, possible hyphenation.
else if (hyphenate)
{
line = text.substr (offset, prior_cursor - offset) + "-";
line = text.substr (offset, prior_cursor - offset) + '-';
offset = prior_cursor;
return true;
}