Skip to content

Commit

Permalink
Process.dll: Changed return value when process not active to -1 (was 0)
Browse files Browse the repository at this point in the history
  • Loading branch information
poiru committed Jan 1, 2012
1 parent c4a2d0f commit 131a342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Plugins/PluginProcess/PluginProcess.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ UINT Update(UINT id)
g_UpdateCount = 0;
}

result = (UINT)(*iter).second.isRunning;
result = (UINT)(*iter).second.isRunning ? 1 : -1;
}

return result;
Expand Down

0 comments on commit 131a342

Please sign in to comment.