diff options
Diffstat (limited to 'games')
-rw-r--r-- | games/concentration/files/patch-src-concentration.c | 6 | ||||
-rw-r--r-- | games/concentration/files/patch-src_ShiftyEngine.c | 11 |
2 files changed, 14 insertions, 3 deletions
diff --git a/games/concentration/files/patch-src-concentration.c b/games/concentration/files/patch-src-concentration.c index 896799b2a021..0668eeb52e8c 100644 --- a/games/concentration/files/patch-src-concentration.c +++ b/games/concentration/files/patch-src-concentration.c @@ -1,6 +1,6 @@ ---- src/concentration.c.orig 2005-11-09 19:05:02.000000000 +0300 -+++ src/concentration.c 2013-06-04 07:00:25.084319599 +0400 -@@ -202,7 +202,7 @@ +--- src/concentration.c.orig 2005-11-09 16:05:02 UTC ++++ src/concentration.c +@@ -202,7 +202,7 @@ char * helpText[] = { /***************************************************** ****************************************************/ diff --git a/games/concentration/files/patch-src_ShiftyEngine.c b/games/concentration/files/patch-src_ShiftyEngine.c new file mode 100644 index 000000000000..48d65187cd58 --- /dev/null +++ b/games/concentration/files/patch-src_ShiftyEngine.c @@ -0,0 +1,11 @@ +--- src/ShiftyEngine.c.orig 2004-09-21 01:08:59 UTC ++++ src/ShiftyEngine.c +@@ -93,7 +93,7 @@ void SE_SetBackground(char * name) + exit(1); + } + +- strncpy(backgroundName, name, len); ++ strncpy(backgroundName, name, len + 1); + } + + /***************************************************** |