hedgewars/uMisc.pas
changeset 3350 5cd02aafc612
parent 3337 75e7455c69ed
child 3355 dc9e61e67484
--- a/hedgewars/uMisc.pas	Fri Apr 16 16:04:21 2010 +0000
+++ b/hedgewars/uMisc.pas	Fri Apr 16 16:04:41 2010 +0000
@@ -584,12 +584,12 @@
 
 // update header information and file name
 {$IFNDEF WIN32}
-filename:= ParamStr(1) + '/' + filename + '.tga';
+filename:= ParamStr(1) + '/Screenshots/' + filename + '.tga';
 
 head[6]:= cScreenWidth;
 head[7]:= cScreenHeight;
 {$ELSE}
-filename:= ParamStr(1) + '/' + filename + '.bmp';
+filename:= ParamStr(1) + '/Screenshots/' + filename + '.bmp';
 
 head[$02]:= (size + 54) and $ff;
 head[$03]:= ((size + 54) shr 8) and $ff;