hedgewars/uMisc.pas
branchqmlfrontend
changeset 10424 4be6cd55f1cf
parent 10150 fa5c83fd0ad9
child 10748 dc587913987c
--- a/hedgewars/uMisc.pas	Fri Sep 26 00:56:36 2014 +0400
+++ b/hedgewars/uMisc.pas	Sat Sep 27 12:49:08 2014 +0400
@@ -256,7 +256,8 @@
 
 // allocate and fill structure that will be passed to new thread
 New(image); // will be disposed in SaveScreenshot()
-image^.filename:= shortstring(UserPathPrefix) + filename + ext;
+//image^.filename:= shortstring(UserPathPrefix) + filename + ext;
+image^.filename:= filename + ext;
 image^.width:= cScreenWidth div k;
 image^.height:= cScreenHeight div k;
 image^.size:= size;