summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorShawn Hoffman <godisgovernment@gmail.com>2012-03-19 23:16:01 -0700
committerShawn Hoffman <godisgovernment@gmail.com>2012-03-19 23:16:01 -0700
commitc0992cc73e2cb4641d3b17d785a5196d24eabb0e (patch)
tree7f0c7670904eae17f2cbae731e5a7475f9cb0d44 /Source/Core
parentdd5df1768859ed99c258a1c6e74a3b35454eb7d5 (diff)
Build fix:
Don't use isascii() - just do it ourselves Bump required wxw version (for shared libs) There still seems to be linking issues on some linux distros, I can't reproduce it though...
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/Src/Core.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/Core/Core/Src/Core.cpp b/Source/Core/Core/Src/Core.cpp
index a8f2349c0a..9a9de8bb40 100644
--- a/Source/Core/Core/Src/Core.cpp
+++ b/Source/Core/Core/Src/Core.cpp
@@ -73,8 +73,6 @@
#include "State.h"
#include "Movie.h"
-#include <ctype.h>
-
// TODO: ugly, remove
bool g_aspect_wide;
@@ -132,8 +130,9 @@ void DisplayMessage(const char *message, int time_in_ms)
SConfig::GetInstance().m_LocalCoreStartupParameter;
// Actually displaying non-ASCII could cause things to go pear-shaped
- if (!isascii(message))
- return;
+ for (const char *c = message; *c != '\0'; ++c)
+ if (*c < ' ')
+ return;
g_video_backend->Video_AddMessage(message, time_in_ms);