mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-26 07:43:36 +01:00
Avoid a char * for a constant string.
This commit is contained in:
1 parent
dda1f212f0
commit
2459f4e351
3 files changed
+8
-8
No files matched your search
+1
-1
@@ -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)) {
|
||||
|
||||
Reference in new issue
Block a user