mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Fixed the issue that old StringIndex results remain if the number of RegExp results is less than StringIndex.
This commit is contained in:
parent
22b1e55438
commit
ab04c130eb
@ -584,6 +584,11 @@ void ParseData(UrlData* urlData, LPCSTR parseData)
|
||||
else
|
||||
{
|
||||
Log(L"WebParser: Not enough substrings!");
|
||||
|
||||
// Clear the old result
|
||||
EnterCriticalSection(&g_CriticalSection);
|
||||
((*i).second)->resultString.clear();
|
||||
LeaveCriticalSection(&g_CriticalSection);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user