diff options
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 1b51f7426..2ad5f5863 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -7306,7 +7306,7 @@ void Editor::AddStyledText(char *buffer, int appendLength) { for (i = 0; i < textLength; i++) { text[i] = buffer[i*2+1]; } - pdoc->StartStyling(CurrentPosition(), static_cast<char>(0xff)); + pdoc->StartStyling(CurrentPosition(), static_cast<unsigned char>(0xff)); pdoc->SetStyles(textLength, text.c_str()); SetEmptySelection(sel.MainCaret() + lengthInserted); } |