From 17e094ebe88ffee498c76cf3473aec52d8a606b4 Mon Sep 17 00:00:00 2001 From: Anderson Cunha Date: Mon, 29 Oct 2018 15:52:07 -0300 Subject: [PATCH] Fix getFolderPath of HookOpenFL for mobile build --- crashdumper/hooks/openfl/HookOpenFL.hx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crashdumper/hooks/openfl/HookOpenFL.hx b/crashdumper/hooks/openfl/HookOpenFL.hx index f6e7146..078e7df 100644 --- a/crashdumper/hooks/openfl/HookOpenFL.hx +++ b/crashdumper/hooks/openfl/HookOpenFL.hx @@ -70,9 +70,9 @@ class HookOpenFL implements IHookPlatform { #if (windows || mac || linux || mobile) #if (mobile) - if (!Util.isFirstChar(str, "/") && !Util.isFirstChar("\\")) + if (!Util.isFirstChar(str, "/") && !Util.isFirstChar(str, "\\")) { - str = Util.uCombine("/" + str); + str = Util.uCombine(["/", str]); } str = Util.uCombine([SystemPath.applicationStorageDirectory,str]); #else