summaryrefslogtreecommitdiff
blob: 992556346acbe00bf56e77216c1717cef963b2ba (plain)
1
2
3
4
5
6
7
8
9
10
11
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);
 }