From d7a4322313d1dd0425739039136b059d16bf7ed6 Mon Sep 17 00:00:00 2001 From: Lion Kortlepel Date: Mon, 20 Sep 2021 17:00:30 +0200 Subject: [PATCH] More windows fixes --- src/TLuaPlugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TLuaPlugin.cpp b/src/TLuaPlugin.cpp index f8826de..445c166 100644 --- a/src/TLuaPlugin.cpp +++ b/src/TLuaPlugin.cpp @@ -30,7 +30,7 @@ TLuaPlugin::TLuaPlugin(TLuaEngine& Engine, const TLuaPluginConfig& Config, const for (const auto& Entry : Entries) { // read in entire file #if defined(WIN32) - std::FILE* File = _wfopen(reinterpret_cast(Entry.c_str()), "r"); + std::FILE* File = _wfopen(reinterpret_cast(Entry.c_str()), "r"); #else std::FILE* File = std::fopen(reinterpret_cast(Entry.c_str()), "r"); #endif