aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <nyamatongwe@gmail.com>2012-04-26 08:24:11 +1000
committernyamatongwe <nyamatongwe@gmail.com>2012-04-26 08:24:11 +1000
commit23ded2859161088f6d62f399793ac88a7cb0cb8c (patch)
treea7d678aa998ab3d0aac5e4e7ad35cc63e7a59042
parent714194532300256ca2ad6f2b8b0e04634d30f6c2 (diff)
downloadscintilla-mirror-23ded2859161088f6d62f399793ac88a7cb0cb8c.tar.gz
Fix bug identified by Xcode Analyze.
-rw-r--r--cocoa/PlatCocoa.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/cocoa/PlatCocoa.mm b/cocoa/PlatCocoa.mm
index f584107a7..5c1213d72 100644
--- a/cocoa/PlatCocoa.mm
+++ b/cocoa/PlatCocoa.mm
@@ -2098,7 +2098,7 @@ int Platform::Maximum(int a, int b) {
void Platform::DebugDisplay(const char *s)
{
- fprintf( stderr, s );
+ fprintf( stderr, "%s", s );
}
//--------------------------------------------------------------------------------------------------