From f79830e7af165b50a0e47215efcd49cb0fe35c4e Mon Sep 17 00:00:00 2001 From: Martin Natano Date: Sun, 6 Feb 2022 13:21:29 +0100 Subject: [PATCH] Fix typo in IniFile.WriteFile() error handling --- Themes/_fallback/Scripts/01 IniFile.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Themes/_fallback/Scripts/01 IniFile.lua b/Themes/_fallback/Scripts/01 IniFile.lua index c61b0cbabe..4b0c7ca05e 100644 --- a/Themes/_fallback/Scripts/01 IniFile.lua +++ b/Themes/_fallback/Scripts/01 IniFile.lua @@ -107,7 +107,7 @@ IniFile = local file = RageFileUtil.CreateRageFile() if not file:Open(file_path, RageFile.WRITE) then - Warn( string.format("WriteFile(%s): %s",file_path.file:GetError()) ) + Warn( string.format("WriteFile(%s): %s",file_path,file:GetError()) ) file:destroy() return false end