[commit] r1630 - trunk/GME/Console
GMESRC Repository Notifications
gme-commit at list.isis.vanderbilt.edu
Thu Oct 13 14:07:54 CDT 2011
Author: ksmyth
Date: Thu Oct 13 14:07:54 2011
New Revision: 1630
Log:
Say which file couldnt be opened
Modified:
trunk/GME/Console/ConsoleCtl.cpp
Modified: trunk/GME/Console/ConsoleCtl.cpp
==============================================================================
--- trunk/GME/Console/ConsoleCtl.cpp Thu Oct 13 14:07:43 2011 (r1629)
+++ trunk/GME/Console/ConsoleCtl.cpp Thu Oct 13 14:07:54 2011 (r1630)
@@ -665,7 +665,7 @@
// open file
if( _file.Open( p_fileName, CFile::modeRead | CFile::typeBinary) == 0) {
- Message( _T("Unable to open file."), MSG_ERROR);
+ Message( CString(_T("Unable to open file '")) + static_cast<const TCHAR*>(p_fileName) + _T("'"), MSG_ERROR);
return;
}
More information about the gme-commit
mailing list