* Fix a bug where the little card names would be displayed
  untranslated.
* This addresses issue 255.
This commit is contained in:
jean.chalard
2009-12-16 15:41:27 +00:00
parent 8648cb8810
commit 9cfa274d6f

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().c_str()), actX - actZ * Width / 2 + 1, actY - actZ * Height / 2 + 1);
mFont->SetScale(DEFAULT_MAIN_FONT_SCALE);
JQuad * icon = NULL;