From 38976c10d2d5d2cf6c42d3e325871bf19e8c5303 Mon Sep 17 00:00:00 2001 From: Birunthan Mohanathas Date: Sat, 23 Mar 2013 18:28:32 +0200 Subject: [PATCH] Additional change to 14f0e4d --- Plugins/PluginFileView/PluginFileView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/PluginFileView/PluginFileView.cpp b/Plugins/PluginFileView/PluginFileView.cpp index a637a932..de5f7d3c 100644 --- a/Plugins/PluginFileView/PluginFileView.cpp +++ b/Plugins/PluginFileView/PluginFileView.cpp @@ -294,7 +294,7 @@ PLUGIN_EXPORT double Update(void* data) } EnterCriticalSection(&g_CriticalSection); - if (!parent->threadActive && parent->ownerChild == child && (parent->needsUpdating || parent->needsIcons)) + if (!parent->thread && parent->ownerChild == child && (parent->needsUpdating || parent->needsIcons)) { unsigned int id; HANDLE thread = (HANDLE)_beginthreadex(nullptr, 0, SystemThreadProc, parent, 0, &id);