From e03616c8b037170fafed8085d450bd6e8fcc722d Mon Sep 17 00:00:00 2001 From: monsta Date: Mon, 30 Nov 2015 12:20:58 +0300 Subject: fix logic error from https://git.gnome.org/browse/gnome-system-monitor/commit/?id=1207e80338467bb5ef9b3e1fe6577a4cb862a31c --- src/openfiles.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(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! */ } -- cgit v1.2.1