Skip to content

Commit 352e2c1

Browse files
authored
potential hotfix for config misreads
1 parent 5f3185d commit 352e2c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/_functions.ahk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ LLK_FileRead(file, keep_case := 0, encoding := "65001")
293293
{
294294
local
295295

296-
FileRead, read, % (!Blank(encoding) ? "*P" encoding " " : "") file
296+
FileRead, read, % (!Blank(encoding) && encoding != "blank" ? "*P" encoding " " : "") file
297297
If !keep_case
298298
StringLower, read, read
299299
Return Trim(read, " `r`n`t")

0 commit comments

Comments
 (0)