hedgewars/uMisc.pas
branchsdl2transition
changeset 11367 a91c4c4fd85c
parent 11362 ed5a6478e710
child 11403 b894922d58cc
child 11823 0fba6cb098a1
--- a/hedgewars/uMisc.pas	Wed Nov 11 20:50:01 2015 +0100
+++ b/hedgewars/uMisc.pas	Wed Nov 11 21:59:06 2015 +0100
@@ -299,7 +299,7 @@
 image^.size:= size;
 image^.buffer:= p;
 
-SDL_CreateThread(@SaveScreenshot, 'snapshot', image);
+SDL_CreateThread(@SaveScreenshot, PChar('snapshot'), image);
 MakeScreenshot:= true; // possibly it is not true but we will not wait for thread to terminate
 end;