summaryrefslogtreecommitdiff
path: root/src/openfiles.cpp
diff options
context:
space:
mode:
authormonsta <[email protected]>2015-11-30 12:20:58 +0300
committermonsta <[email protected]>2015-11-30 12:23:21 +0300
commit86ce2c051a1cfdf59a04a60ed57f4090ca0cb600 (patch)
tree0d497eade0e2b27feac19e262cbe10195651f792 /src/openfiles.cpp
parenta706241aff46c971fb43c866cd766026d2a2c44f (diff)
downloadmate-system-monitor-86ce2c051a1cfdf59a04a60ed57f4090ca0cb600.tar.bz2
mate-system-monitor-86ce2c051a1cfdf59a04a60ed57f4090ca0cb600.tar.xz
fix logic error
from https://git.gnome.org/browse/gnome-system-monitor/commit/?id=1207e80338467bb5ef9b3e1fe6577a4cb862a31c
Diffstat (limited to 'src/openfiles.cpp')
-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! */
}