David Rose 20 years ago
parent
commit
26912f6bbb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/pstatclient/pStatCollector.I

+ 1 - 1
panda/src/pstatclient/pStatCollector.I

@@ -249,7 +249,7 @@ add_level(float increment) {
 INLINE void PStatCollector::
 sub_level(float decrement) {
 #ifndef HAVE_THREADS
-  _client->sub_level(_index, 0, decrement);
+  _client->add_level(_index, 0, -decrement);
 #else  // HAVE_THREADS
   sub_level(_client->get_current_thread(), decrement);
 #endif  // HAVE_THREADS