mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 13:50:13 +00:00
ICB: Disable lower case changing, since input is read only and it was not working before
This commit is contained in:
parent
830bb70df6
commit
7b7d4ef57d
@ -75,10 +75,10 @@ bool8 Setup_camtest_mission() {
|
||||
void _mission::Set_new_session_name(const char *ascii) {
|
||||
// record the name of the next session
|
||||
|
||||
// name to lower
|
||||
/* // name to lower
|
||||
for (uint32 j = 0; j < strlen(ascii); j++)
|
||||
if (Common::isUpper(*(ascii + j)))
|
||||
*(ascii + j) = tolower(*(ascii + j));
|
||||
*(ascii + j) = tolower(*(ascii + j));*/
|
||||
|
||||
Set_string(const_cast<char *>(ascii), new_session_name, TINY_NAME_LEN);
|
||||
|
||||
@ -120,14 +120,14 @@ bool8 Setup_new_mission(const char *mission_name, const char *session_name) {
|
||||
|
||||
// fix names to lowercase on the PC ONLY
|
||||
#ifdef _PC
|
||||
uint32 j;
|
||||
/* uint32 j;
|
||||
for (j = 0; j < strlen(mission_name); j++)
|
||||
if (Common::isUpper(*(mission_name + j)))
|
||||
*(mission_name + j) = tolower(*(mission_name + j));
|
||||
|
||||
for (j = 0; j < strlen(session_name); j++)
|
||||
if (Common::isUpper(*(session_name + j)))
|
||||
*(session_name + j) = tolower(*(session_name + j));
|
||||
*(session_name + j) = tolower(*(session_name + j));*/
|
||||
#endif // #ifdef _PC
|
||||
|
||||
// check if session exists
|
||||
|
Loading…
Reference in New Issue
Block a user