Erwan
-removed an unnecessary translation step in card text rendering (see issue 258)
This commit is contained in:
@@ -63,7 +63,7 @@ const vector<string>& CardPrimitive::formattedText()
|
|||||||
{
|
{
|
||||||
if (ftdText.empty())
|
if (ftdText.empty())
|
||||||
{
|
{
|
||||||
std::string s = _(text);
|
std::string s = text;
|
||||||
std::string::size_type found = s.find_first_of("{}");
|
std::string::size_type found = s.find_first_of("{}");
|
||||||
while (found!=string::npos)
|
while (found!=string::npos)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user