summaryrefslogtreecommitdiff
path: root/games-board/maitretarot/files/maitretarot-0.1.98-format.patch
blob: d7b5ca55b09306cf6dff0605eb1c58238de32f3f (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/src/game.c	2015-12-16 21:59:49.400430743 +0100
+++ b/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;