Avoid a char * for a constant string.

This commit is contained in:
Unknown W. Brackets committed 2014-02-15 01:56:27 -08:00
1 parent dda1f212f0
commit 2459f4e351
3 files changed
+8 -8

No files matched your search

+1 -1
View File
@@ -182,7 +182,7 @@ void EnableCrashingOnCrashes()
}
}
bool System_InputBoxGetString(char *title, const char *defaultValue, char *outValue, size_t outLength)
bool System_InputBoxGetString(const char *title, const char *defaultValue, char *outValue, size_t outLength)
{
std::string out;
if (InputBox_GetString(MainWindow::GetHInstance(), MainWindow::GetHWND(), ConvertUTF8ToWString(title).c_str(), defaultValue, out)) {