Update of /cvsroot/anyedit/AnyEditv2
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2108
Modified Files:
MainFrm.cpp
Log Message:
Bug-fix: UserImages path wasn't correctly resolved when starting from associated files.
Index: MainFrm.cpp
===================================================================
RCS file: /cvsroot/anyedit/AnyEditv2/MainFrm.cpp,v
retrieving revision 1.78
retrieving revision 1.79
diff -C2 -d -r1.78 -r1.79
*** MainFrm.cpp 5 Apr 2005 08:20:20 -0000 1.78
--- MainFrm.cpp 17 Oct 2005 17:17:29 -0000 1.79
***************
*** 162,166 ****
// Load toolbar user images:
//--------------------------
! if (!m_UserImages.Load (_T(".\\UserImages.bmp")))
{
TRACE(_T("Failed to load user images\n"));
--- 162,166 ----
// Load toolbar user images:
//--------------------------
! if (!m_UserImages.Load (_T(theApp.GetAppPath() + "UserImages.bmp")))
{
TRACE(_T("Failed to load user images\n"));
|