* Fix a bug where a char* would be passed instead of a String to _()
This commit is contained in:
jean.chalard
2009-12-17 03:12:35 +00:00
parent af10c4d0e9
commit 82ac1add24

View File

@@ -74,7 +74,7 @@ void CardGui::Render()
if (alternate) {
mFont->SetColor(ARGB(static_cast<unsigned char>(actA), 0, 0, 0));
mFont->SetScale(DEFAULT_MAIN_FONT_SCALE * 0.5 * actZ);
mFont->DrawString(_(card->getName().c_str()), actX - actZ * Width / 2 + 1, actY - actZ * Height / 2 + 1);
mFont->DrawString(_(card->getName()), actX - actZ * Width / 2 + 1, actY - actZ * Height / 2 + 1);
mFont->SetScale(DEFAULT_MAIN_FONT_SCALE);
JQuad * icon = NULL;