From 7d01ae57c61c604ed6078bb3910283d9a8a6ffc7 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Sat, 29 May 2010 18:36:20 +0200 Subject: Only skip the UTF-8 BOM for Lua scripts libxml2 should be able to handle files with a BOM fine. Reviewed-by: Bertram --- src/common/resourcemanager.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/common/resourcemanager.hpp') diff --git a/src/common/resourcemanager.hpp b/src/common/resourcemanager.hpp index f5b1b1ef..55bfe7df 100644 --- a/src/common/resourcemanager.hpp +++ b/src/common/resourcemanager.hpp @@ -52,8 +52,7 @@ namespace ResourceManager * or NULL on failure. * @note The array contains an extra \0 character at position fileSize. */ - char *loadFile(const std::string &fileName, int &fileSize, - bool removeBOM = false); + char *loadFile(const std::string &fileName, int &fileSize); } #endif -- cgit v1.2.3-60-g2f50