[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]
[XaraXtreme-commits] Commit Complete
Commit by : luke
Repository : xara
Revision : 1214
Date : Tue May 30 15:45:51 BST 2006
Changed paths:
M /Trunk/XaraLX/wxOil/oilfltrs.cpp
Fix loading of .PNG and .JPG files (i.e. exts in upper case)
Diff:
Index: Trunk/XaraLX/wxOil/oilfltrs.cpp
===================================================================
--- Trunk/XaraLX/wxOil/oilfltrs.cpp (revision 1213)
+++ Trunk/XaraLX/wxOil/oilfltrs.cpp (revision 1214)
@@ -476,8 +476,16 @@
if (!NoneFound)
// Don't add a semi-colon if this is the first one we find.
Extensions += _T(";");
+
+ String_16 Ext( pExt );
Extensions += _T("*.");
- Extensions += pExt;
+ Ext.toLower();
+ Extensions += Ext;
+
+ Extensions += _T(";*.");
+ Ext.toUpper();
+ Extensions += Ext;
+
NoneFound = FALSE;
}
Xara