Author: shadowmaster
Date: Wed Jul 30 23:49:56 2008
New Revision: 28276
URL: http://svn.gna.org/viewcvs/wesnoth?rev=28276&view=rev
Log:
* Fix a small regression which caused add-on icons not to be displayed
Modified:
trunk/src/addon_management.cpp
Modified: trunk/src/addon_management.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/addon_management.cpp?rev=28276&r1=28275&r2=28276&view=diff
==============================================================================
--- trunk/src/addon_management.cpp (original)
+++ trunk/src/addon_management.cpp Wed Jul 30 23:49:56 2008
@@ -640,7 +640,7 @@
//add negative sizes to reverse the sort order
sizes.push_back(-atoi(size.c_str()));
- std::string icon;
+ std::string icon = c["icon"];
if(icon.find("units/") != std::string::npos &&
icon.find_first_of('~') ==
std::string::npos) {
//a hack to prevent magenta icons,
because they look awful
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits