[commit] r2489 - trunk/GME/MgaUtil
GMESRC Repository Notifications
gme-commit at list.isis.vanderbilt.edu
Wed May 21 16:13:42 CDT 2014
Author: ksmyth
Date: Wed May 21 16:13:41 2014
New Revision: 2489
Log:
Icon path: saner default for devs
Modified:
trunk/GME/MgaUtil/MgaRegistrar.cpp
Modified: trunk/GME/MgaUtil/MgaRegistrar.cpp
==============================================================================
--- trunk/GME/MgaUtil/MgaRegistrar.cpp Wed May 21 16:13:32 2014 (r2488)
+++ trunk/GME/MgaUtil/MgaRegistrar.cpp Wed May 21 16:13:41 2014 (r2489)
@@ -88,7 +88,8 @@
CString str2;
if(res == ERROR_SUCCESS) {
str2 = QueryValue(mga, _T("IconPath"));
- } else if (res == ERROR_FILE_NOT_FOUND) {
+ }
+ if (str2 == "") {
str2 = "$PARADIGMDIR\\icons;$PROJECTDIR\\icons";
}
str2.TrimLeft(_T(" ;,\t"));
More information about the gme-commit
mailing list