From 69f84781f12fa73f405dd6363c75df9106ca60a9 Mon Sep 17 00:00:00 2001 From: Birunthan Mohanathas Date: Sun, 5 Aug 2012 16:01:45 +0300 Subject: [PATCH] Minor fix --- Library/ConfigParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/ConfigParser.cpp b/Library/ConfigParser.cpp index d0061b87..8068cd1f 100644 --- a/Library/ConfigParser.cpp +++ b/Library/ConfigParser.cpp @@ -264,7 +264,7 @@ bool CConfigParser::GetSectionVariable(std::wstring& strVariable, std::wstring& else if (*selectorSz == L'/') // Scale { errno = 0; - scale = _wtoi(selectorSz); + scale = _wtoi(selectorSz + 1); if (errno == EINVAL) { scale = 1.0;