1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-07-03 06:24:32 +00:00

More compile fixes for gcc 2.95

This commit is contained in:
fgenesis 2012-09-23 05:30:47 +02:00
parent 1fdae0c128
commit 31930051d5
5 changed files with 96 additions and 55 deletions

View file

@ -232,7 +232,7 @@ void stringToLowerUserData(std::string &s)
const size_t len = userdata.length();
const bool match = (s.length() > len) &&
((s[len] == '/') || (s[len] == '\\')) &&
(userdata.compare(0, len, s, 0, len) == 0);
!strncmp(userdata.c_str(), s.c_str(), len);
if (!match)
stringToLower(s);
else