From f4c1dabae026f2c9bede89d53a10337589309b5b Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 9 Sep 2013 08:53:31 +1000 Subject: Use const for constant strings as recommended in Effective Objective C 2.0 --- cocoa/ScintillaView.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cocoa/ScintillaView.mm') diff --git a/cocoa/ScintillaView.mm b/cocoa/ScintillaView.mm index 4f9fe8c31..552fd9a68 100644 --- a/cocoa/ScintillaView.mm +++ b/cocoa/ScintillaView.mm @@ -22,7 +22,7 @@ static NSCursor* waitCursor; // The scintilla indicator used for keyboard input. #define INPUT_INDICATOR INDIC_MAX - 1 -NSString *SCIUpdateUINotification = @"SCIUpdateUI"; +NSString *const SCIUpdateUINotification = @"SCIUpdateUI"; /** * Provide an NSCursor object that matches the Window::Cursor enumeration. -- cgit v1.2.3