1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-23 01:44:22 +00:00

Used MemoryBlock::isEmpty() in a few places

This commit is contained in:
ed 2021-04-22 17:35:48 +01:00
parent b2b1685ca6
commit 0fc1ede50f
12 changed files with 20 additions and 20 deletions

View file

@ -681,7 +681,7 @@ void WebBrowserComponent::reloadLastURL()
{
if (lastURL.isNotEmpty())
{
goToURL (lastURL, &lastHeaders, lastPostData.getSize() == 0 ? nullptr : &lastPostData);
goToURL (lastURL, &lastHeaders, lastPostData.isEmpty() ? nullptr : &lastPostData);
lastURL.clear();
}
}