diff options
author | nyamatongwe <devnull@localhost> | 2011-03-18 10:43:45 +1100 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2011-03-18 10:43:45 +1100 |
commit | 2275e127b303c592c49c0022a05ddad4dc217b8a (patch) | |
tree | e657f828793456193e29721f95cb13dd2425d060 /macosx/SciTest/main.cpp | |
parent | aa530371b332d92555b1819ec9bde36fdeee994c (diff) | |
download | scintilla-mirror-2275e127b303c592c49c0022a05ddad4dc217b8a.tar.gz |
Avoid const warnings.
Diffstat (limited to 'macosx/SciTest/main.cpp')
-rw-r--r-- | macosx/SciTest/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/SciTest/main.cpp b/macosx/SciTest/main.cpp index 4f2ef3819..0239c4024 100644 --- a/macosx/SciTest/main.cpp +++ b/macosx/SciTest/main.cpp @@ -25,7 +25,7 @@ const HILayoutInfo kBindToParentLayout = { using namespace Scintilla; /* XPM */ -static char *ac_class[] = { +static const char *ac_class[] = { /* columns rows colors chars-per-pixel */ "18 12 24 1", " c black", @@ -104,7 +104,7 @@ pascal OSStatus WindowEventHandler(EventHandlerCallRef inCallRef, const char *test = "\001This is a test calltip This is a test calltip This is a test calltip"; scintilla->WndProc( SCI_CALLTIPSHOW, 0, (long int)test ); } else { - char *list = "test_1?0 test_2 test_3 test_4 test_5 test_6 test_7 test_8 test_9 test_10 test_11 test_12"; + const char *list = "test_1?0 test_2 test_3 test_4 test_5 test_6 test_7 test_8 test_9 test_10 test_11 test_12"; scintilla->WndProc( SCI_AUTOCSHOW, 0, (long int)list ); } return noErr; |