Cleanup: Don't use string literals when character literals are needed
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user