summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormonsta <[email protected]>2015-11-30 12:20:58 +0300
committermonsta <[email protected]>2015-11-30 12:20:58 +0300
commite03616c8b037170fafed8085d450bd6e8fcc722d (patch)
tree0d497eade0e2b27feac19e262cbe10195651f792 /src
parent308b878e643c2b79a47577db89bf9c8d8072627e (diff)
downloadmate-system-monitor-e03616c8b037170fafed8085d450bd6e8fcc722d.tar.bz2
mate-system-monitor-e03616c8b037170fafed8085d450bd6e8fcc722d.tar.xz
fix logic error
from https://git.gnome.org/browse/gnome-system-monitor/commit/?id=1207e80338467bb5ef9b3e1fe6577a4cb862a31c
Diffstat (limited to 'src')
-rw-r--r--src/openfiles.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openfiles.cpp b/src/openfiles.cpp
index 770f796..2c3020c 100644
--- a/src/openfiles.cpp
+++ b/src/openfiles.cpp
@@ -160,7 +160,7 @@ compare_open_files(gconstpointer a, gconstpointer b)
const glibtop_open_files_entry *o2 = static_cast<const glibtop_open_files_entry *>(b);
/* Falta manejar los diferentes tipos! */
- return (o1->fd == o2->fd) && (o1->type == o1->type); /* XXX! */
+ return (o1->fd == o2->fd) && (o1->type == o2->type); /* XXX! */
}