mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-05 09:10:29 +00:00
MACVENTURE: Add proper capitalization
This commit is contained in:
parent
0485483254
commit
680790acaa
@ -203,8 +203,12 @@ Common::String TextAsset::getNoun(ObjID subval) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (name.size() && (subval & 4))
|
||||
name.toUppercase(); // HACK, should only capitalize first char?
|
||||
if (name.size() && (subval & 4)) {
|
||||
Common::String tmp = name;
|
||||
name.toUppercase();
|
||||
name.replace(1, name.size() - 1, tmp, 1, tmp.size() - 1);
|
||||
}
|
||||
|
||||
return name;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user