Skip to content

Commit 0b1026c

Browse files
fix crm on macOS devices
1 parent 9219fe8 commit 0b1026c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/Screenshot.hx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ class Screenshot {
1212
var height:Int;
1313
var window:Window = null;
1414
var image:Image;
15-
var target:String = #if !linux "assets\\gameRenders" #else "assets/gameRenders" #end;
16-
public static var slash:String = #if !linux "\\" #else "/" #end;
15+
var target:String = #if windows "assets\\gameRenders" #else "assets/gameRenders" #end;
16+
public static var slash:String = #if windows "\\" #else "/" #end;
1717

1818
public function new(x:Int = -1, y:Int = -1, w:Int = -1, h:Int = -1) {
1919
if(x < 0) this.x = 0;

0 commit comments

Comments
 (0)