mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Fixed some Lua related issues.
Removed some internal functions from exposed functions for Lua. Code cleanup and optimizing for VC2010.
This commit is contained in:
@ -32,7 +32,7 @@ void CGroup::InitializeGroup(const std::wstring& groups)
|
||||
m_OldGroups = groups;
|
||||
m_Groups.clear();
|
||||
|
||||
if (!groups.empty())
|
||||
if (groups.size() > 0)
|
||||
{
|
||||
std::vector<std::wstring> vGroups = CConfigParser::Tokenize(groups, L"|");
|
||||
|
||||
@ -40,7 +40,7 @@ void CGroup::InitializeGroup(const std::wstring& groups)
|
||||
for ( ; iter != vGroups.end(); ++iter)
|
||||
{
|
||||
std::wstring group = CreateGroup(*iter);
|
||||
if (!group.empty())
|
||||
if (group.size() > 0)
|
||||
{
|
||||
m_Groups.insert(group);
|
||||
}
|
||||
|
Reference in New Issue
Block a user