mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +00:00
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:
parent
6412c5ca77
commit
2c799718d7
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue