diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-08-29 12:00:54 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-08-29 12:00:54 +0000 |
commit | 5dc41054c67436ce2d2a14729472d6cb08b9cc37 (patch) | |
tree | 5bbdee32e32ee3d10e3c62a1720d16a3d70650b5 /data/rbot | |
parent | 9f3561b05bef1ba04f9cc49ea4fb89a49b6291a4 (diff) |
debugger plugin: fix computation of memory occupation differences.
Diffstat (limited to 'data/rbot')
-rw-r--r-- | data/rbot/plugins/debugger.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/debugger.rb b/data/rbot/plugins/debugger.rb index 6eabdfea..fe000324 100644 --- a/data/rbot/plugins/debugger.rb +++ b/data/rbot/plugins/debugger.rb @@ -48,7 +48,7 @@ class DebugPlugin < Plugin end @delta.clear - (@curr.keys + @delta.keys).uniq.each do |k,v| + (@curr.keys + @prev.keys).uniq.each do |k,v| @delta[k] = @curr[k]-@prev[k] end |