From 46a767dfc3ad7da16c1948a6dbe66b1f47cb7e00 Mon Sep 17 00:00:00 2001 From: mattias Date: Sat, 27 Oct 2018 09:41:50 +0000 Subject: [PATCH] lazutils: fixed ExpandFileNameUTF8 for \\?\ git-svn-id: branches/fixes_2_0@59364 - --- components/lazutils/winlazfileutils.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lazutils/winlazfileutils.inc b/components/lazutils/winlazfileutils.inc index e24b97018f..4429fb87a7 100644 --- a/components/lazutils/winlazfileutils.inc +++ b/components/lazutils/winlazfileutils.inc @@ -545,7 +545,7 @@ begin //See: http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247%28v=vs.85%29.aspx if (Length(Fn) > 3) and (Fn[1] = PathDelim) and (Fn[2] = PathDelim) and (Fn[3] = '?') and (Fn[4] = PathDelim) //Do NOT use AllowDirectorySeparators here! - then Exit; + then Exit(Fn); ForcePathDelims(Fn); IsAbs := FileNameIsWinAbsolute(Fn); if not IsAbs then