Commit f3ac013b authored by Vivien Kraus's avatar Vivien Kraus
Browse files

Fix the compiler

It did not use the card name in =tarot_string_to_card_c=!
parent 3959a05e
......@@ -169,7 +169,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</xsl:template>
<xsl:template match="tarot:card" mode="game">
<xsl:text>&#xA; {&#xA; TarotCard card = tarot_string_to_card_c (&quot;&quot;)&#xA; assert (card != ((TarotCard) (-1)));&#xA; event = tarot_game_event_alloc_card (card);&#xA; }</xsl:text>
<xsl:text>&#xA; {&#xA; TarotCard card = tarot_string_to_card_c (&quot;</xsl:text>
<xsl:value-of select="@card" />
<xsl:text>&quot;);&#xA; assert (card != ((TarotCard) (-1)));&#xA; event = tarot_game_event_alloc_card (card);&#xA; }</xsl:text>
<xsl:call-template name="add-the-event" />
</xsl:template>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment