From b1bacc078efeff926422b14a89905f847835258d Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Wed, 27 Jul 2005 17:55:16 +0000 Subject: [PATCH] *** empty log message *** --- src/file_win.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/file_win.cpp b/src/file_win.cpp index a8badd080..72211ebaf 100644 --- a/src/file_win.cpp +++ b/src/file_win.cpp @@ -88,7 +88,7 @@ namespace std::string ret; ret.resize(size); size = wcstombs(&ret[0], ws.c_str(), size + 1); - ret.resize(size-1); + ret.resize(size); return ret; } catch(std::exception)