Author: esr
Date: Wed Apr  9 17:08:53 2008
New Revision: 25705

URL: http://svn.gna.org/viewcvs/wesnoth?rev=25705&view=rev
Log:
Fix buggy unit-preview display.

Modified:
    trunk/src/dialogs.cpp

Modified: trunk/src/dialogs.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/dialogs.cpp?rev=25705&r1=25704&r2=25705&view=diff
==============================================================================
--- trunk/src/dialogs.cpp (original)
+++ trunk/src/dialogs.cpp Wed Apr  9 17:08:53 2008
@@ -835,7 +835,7 @@
        }
 
        std::stringstream text;
-       text << det.name << "\n"
+       text << det.type_name << "\n"
                << font::BOLD_TEXT << _("level") << " " << det.level << "\n"
                << det.alignment << "\n"
                << det.traits << "\n";


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to