save operation is case sensitive now w.r.t. to checking a registered
suffix. The problem was that saving a file foo.MAP does not work.
PLEASE MERGE THIS TO TRUNK.
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/Rambetter-temp-fixes@354
8a3a26a2-13c4-0310-b231-
cf6edde360e5
int knownExtension = 0;
for (int i = typelist.GetNumTypes() - 1; i >= 0; i--) {
type = typelist.GetTypeForIndex(i);
- if (stricmp(w, type.pattern + 1) == 0) {
+ if (strcmp(w, type.pattern + 1) == 0) {
knownExtension = 1;
break;
}