From: BJ H. <par...@us...> - 2003-10-06 00:22:12
|
Log Message: ----------- fix for missing icons, thanks gkusnick. Modified Files: -------------- /cvsroot/decaldev/source/Inject: View.cpp Revision Data ------------- Index: View.cpp =================================================================== RCS file: /cvsroot/decaldev/source/Inject/View.cpp,v retrieving revision 1.29 retrieving revision 1.30 diff -u -d -r1.29 -r1.30 --- View.cpp 5 Oct 2003 18:00:41 -0000 1.29 +++ View.cpp 6 Oct 2003 00:22:10 -0000 1.30 @@ -115,7 +115,7 @@ // _ASSERTE( vIcon.vt != VT_NULL ); m_VP.icon = ( vIcon.vt != VT_NULL ) ? static_cast< long >( vIcon ) : 0; // Para: shouldn't add 0x06000000 if there's an iconlibrary - if (m_VP.iconLibrary == 0) + if (m_VP.iconLibrary == 0 && m_VP.icon != 0) m_VP.icon += 0x06000000; if(vLeft.vt == VT_NULL) |