summaryrefslogtreecommitdiff
blob: b3ff1fe1db1f575b81df6d1e0d7c91938a42fef2 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- src/game.c.old	2015-12-16 21:59:49.400430743 +0100
+++ src/game.c	2015-12-16 21:59:11.085058332 +0100
@@ -642,7 +642,7 @@
 		  (game, prev_winner, c, ((i + prev_winner) % 4),
 		   game->players[((i + prev_winner) % 4)]->turn, &err))
 		{
-		  g_message (err->message);
+		  g_message ("%s", err->message);
 		  turn_nok = TRUE;
 		  game->players[((i + prev_winner) % 4)]->ready =
 		    MT_PLAYER_READY_SEND_NOK_FOR_CARD;