Update of /cvsroot/mahogany/M/src/gui
In directory sc8-pr-cvs1:/tmp/cvs-serv598/src/gui

Modified Files:
        wxIconManager.cpp 
Log Message:
return unknown icon instead of invalid one if MIME type lookup failed

Index: wxIconManager.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxIconManager.cpp,v
retrieving revision 1.96
retrieving revision 1.97
diff -b -u -2 -r1.96 -r1.97
--- wxIconManager.cpp   13 Jul 2003 21:21:22 -0000      1.96
+++ wxIconManager.cpp   20 Jul 2003 17:13:41 -0000      1.97
@@ -674,4 +674,9 @@
 #endif
 
+         if ( !icon.Ok() )
+         {
+            icon = m_unknownIcon;
+         }
+
          delete fileType;
       }



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to