diff options
| author | nyamatongwe <unknown> | 2011-03-18 10:43:45 +1100 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2011-03-18 10:43:45 +1100 | 
| commit | 5e39bd62cadb7204fcf7c0144f5d576d9d03d599 (patch) | |
| tree | 4d8287ca7d7d9d972b7a04d2c114cfd8792cc1b1 | |
| parent | 520fb421f020d7c2af83a2b6510c893fea64b80c (diff) | |
| download | scintilla-mirror-5e39bd62cadb7204fcf7c0144f5d576d9d03d599.tar.gz | |
Avoid const warnings.
| -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; | 
