diff -r 2fa3bb7785ee -r 7f29a65aa1e4 hedgewars/uMisc.pas --- a/hedgewars/uMisc.pas Sun Feb 09 19:00:13 2014 +0100 +++ b/hedgewars/uMisc.pas Mon Feb 10 00:43:03 2014 +0400 @@ -256,7 +256,7 @@ // allocate and fill structure that will be passed to new thread New(image); // will be disposed in SaveScreenshot() -image^.filename:= UserPathPrefix + filename + ext; +image^.filename:= shortstring(UserPathPrefix) + filename + ext; image^.width:= cScreenWidth div k; image^.height:= cScreenHeight div k; image^.size:= size;