Browse Source

Fix incorrectly passing String through fprintf

Lloyd Weehuizen 15 years ago
parent
commit
0060e04b1f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/Core/SystemInterface.cpp

+ 1 - 1
Source/Core/SystemInterface.cpp

@@ -62,7 +62,7 @@ bool SystemInterface::LogMessage(Log::Type logtype, const String& message)
 	}
 	}
 #else
 #else
 	(logtype);
 	(logtype);
-	fprintf(stderr,"%s\n", message);
+	fprintf(stderr,"%s\n", message.CString());
 #endif	
 #endif	
 	return true;
 	return true;
 }
 }