Package: njam / 1.25-8

fix_error_gcc.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
From: Daniel Echeverry <epsilon77@gmail.com>
Last-Update: 2013-01-04
Description: fix_error_gcc
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3
--- a/src/njamgame.cpp
+++ b/src/njamgame.cpp
@@ -228,7 +228,7 @@ void NjamEngine::StartGame(GameType Gt)
 	 	if (!temp)
 	 	{
 			printf("Loading file: %s", filename);
-			printf(SDL_GetError());
+			printf("%s", SDL_GetError());
 			return;
 	 	}