summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/MainNoGUI.cpp
diff options
context:
space:
mode:
authordegasus <wickmarkus@web.de>2016-05-04 23:47:23 +0200
committerdegasus <wickmarkus@web.de>2016-05-05 00:22:49 +0200
commit2030ad45772742e8de34dbc94baa9eb49a0f7335 (patch)
treedd062b573b10147a86a2c60496c9f26f47842275 /Source/Core/DolphinWX/MainNoGUI.cpp
parentdbd67c6b0642624af2451273ef76c49aff94c247 (diff)
SCM: Use std::string.
Those macros may be defined, or not. We should support both cases, so use std::string as it also defines the length of the string.
Diffstat (limited to 'Source/Core/DolphinWX/MainNoGUI.cpp')
-rw-r--r--Source/Core/DolphinWX/MainNoGUI.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DolphinWX/MainNoGUI.cpp b/Source/Core/DolphinWX/MainNoGUI.cpp
index 180af3ffe2..2ccd9f633d 100644
--- a/Source/Core/DolphinWX/MainNoGUI.cpp
+++ b/Source/Core/DolphinWX/MainNoGUI.cpp
@@ -320,14 +320,14 @@ int main(int argc, char* argv[])
help = 1;
break;
case 'v':
- fprintf(stderr, "%s\n", scm_rev_str);
+ fprintf(stderr, "%s\n", scm_rev_str.c_str());
return 1;
}
}
if (help == 1 || argc == optind)
{
- fprintf(stderr, "%s\n\n", scm_rev_str);
+ fprintf(stderr, "%s\n\n", scm_rev_str.c_str());
fprintf(stderr, "A multi-platform GameCube/Wii emulator\n\n");
fprintf(stderr, "Usage: %s [-e <file>] [-h] [-v]\n", argv[0]);
fprintf(stderr, " -e, --exec Load the specified file\n");