Author: espreon
Date: Sun Aug 28 01:11:10 2011
New Revision: 50940
URL: http://svn.gna.org/viewcvs/wesnoth?rev=50940&view=rev
Log:
Replaced a couple of hyphen-minuses with real minus signs.
Modified:
trunk/src/whiteboard/recall.cpp
trunk/src/whiteboard/recruit.cpp
Modified: trunk/src/whiteboard/recall.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/whiteboard/recall.cpp?rev=50940&r1=50939&r2=50940&view=diff
==============================================================================
--- trunk/src/whiteboard/recall.cpp (original)
+++ trunk/src/whiteboard/recall.cpp Sun Aug 28 01:11:10 2011
@@ -172,7 +172,7 @@
const double y_offset = 0.7;
//position 0,0 in the hex is the upper left corner
std::stringstream number_text;
- number_text << "-" <<
resources::teams->at(team_index()).recall_cost();
+ number_text << utils::unicode_minus <<
resources::teams->at(team_index()).recall_cost();
size_t font_size = 16;
SDL_Color color; color.r = 255; color.g = 0; color.b = 0; //red
resources::screen->draw_text_in_hex(hex,
display::LAYER_ACTIONS_NUMBERING,
Modified: trunk/src/whiteboard/recruit.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/whiteboard/recruit.cpp?rev=50940&r1=50939&r2=50940&view=diff
==============================================================================
--- trunk/src/whiteboard/recruit.cpp (original)
+++ trunk/src/whiteboard/recruit.cpp Sun Aug 28 01:11:10 2011
@@ -154,7 +154,7 @@
const double y_offset = 0.7;
//position 0,0 in the hex is the upper left corner
std::stringstream number_text;
- number_text << "-" << temp_unit_->type()->cost();
+ number_text << utils::unicode_minus <<
temp_unit_->type()->cost();
size_t font_size = 16;
SDL_Color color; color.r = 255; color.g = 0; color.b = 0; //red
resources::screen->draw_text_in_hex(hex,
display::LAYER_ACTIONS_NUMBERING,
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits