mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Minor tweaks.
This commit is contained in:
@ -696,14 +696,8 @@ std::vector<Gdiplus::REAL> CConfigParser::ReadFloats(LPCTSTR section, LPCTSTR ke
|
||||
const std::wstring& string = ReadString(section, key, L"");
|
||||
if (!string.empty())
|
||||
{
|
||||
std::wstring tmp = string;
|
||||
if (tmp[tmp.length() - 1] != L';')
|
||||
{
|
||||
tmp += L";";
|
||||
}
|
||||
|
||||
// Tokenize and parse the floats
|
||||
std::vector<std::wstring> tokens = Tokenize(tmp, L";");
|
||||
std::vector<std::wstring> tokens = Tokenize(string, L";");
|
||||
std::vector<std::wstring>::const_iterator iter = tokens.begin();
|
||||
for ( ; iter != tokens.end(); ++iter)
|
||||
{
|
||||
|
Reference in New Issue
Block a user