diff options
-rw-r--r-- | dw/textblock.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dw/textblock.cc b/dw/textblock.cc index b49362cd..24c87610 100644 --- a/dw/textblock.cc +++ b/dw/textblock.cc @@ -938,9 +938,9 @@ void Textblock::drawWord (Line *line, int wordIndex1, int wordIndex2, if(drawHyphen) { // "\xe2\x80\x90" is an unconditional hyphen. - text[p++] = 0xe2; - text[p++] = 0x80; - text[p++] = 0x90; + text[p++] = '\xe2'; + text[p++] = '\x80'; + text[p++] = '\x90'; text[p++] = 0; } |