summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-puzzle/mures/files/mures-0.5-screenshot.patch')
-rw-r--r--games-puzzle/mures/files/mures-0.5-screenshot.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/games-puzzle/mures/files/mures-0.5-screenshot.patch b/games-puzzle/mures/files/mures-0.5-screenshot.patch
new file mode 100644
index 000000000000..992556346acb
--- /dev/null
+++ b/games-puzzle/mures/files/mures-0.5-screenshot.patch
@@ -0,0 +1,12 @@
+--- output.c.orig 2004-06-01 21:59:57.000000000 +0300
++++ output.c 2004-06-01 22:04:50.000000000 +0300
+@@ -215,7 +215,8 @@
+
+ void output_screenshot()
+ {
+- char *l = "shot.bmp";
++ char l[70];
++ sprintf(l, "%s/mures_shot.bmp", getenv("HOME"));
+ SDL_SaveBMP(screen, l);
+ printf("Screenshot saved to %s.\n", l);
+ }