From 7005b0bbc01565d1dd756ce87337542f52db8b07 Mon Sep 17 00:00:00 2001 From: Neil Date: Tue, 29 Apr 2014 11:54:46 +1000 Subject: Fix some warnings instead of relying upon #pragma to hide them --- src/Editor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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(0xff)); + pdoc->StartStyling(CurrentPosition(), static_cast(0xff)); pdoc->SetStyles(textLength, text.c_str()); SetEmptySelection(sel.MainCaret() + lengthInserted); } -- cgit v1.2.3