From 2c799718d741e3efca91aedb1c4b143742797ce8 Mon Sep 17 00:00:00 2001 From: rambetter Date: Sun, 19 Dec 2010 01:31:52 +0000 Subject: [PATCH] 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 --- radiant/gtkmisc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radiant/gtkmisc.cpp b/radiant/gtkmisc.cpp index f398604b..dbcd3633 100644 --- a/radiant/gtkmisc.cpp +++ b/radiant/gtkmisc.cpp @@ -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; } -- 2.39.2