Slight fix to r353 in Rambetter-fixes temp: the file suffix in

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
This commit is contained in:
rambetter 2010-12-19 01:31:52 +00:00
parent 6412c5ca77
commit 2c799718d7

View file

@ -1513,7 +1513,7 @@ const char* file_dialog (void *parent, gboolean open, const char* title, const c
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;
}