[gnome-system-monitor] Fixed typo spotted by dcb breaking lsof compare (bgo#719504)



commit 1207e80338467bb5ef9b3e1fe6577a4cb862a31c
Author: Robert Roth <robert roth off gmail com>
Date:   Thu Nov 28 23:12:13 2013 +0200

    Fixed typo spotted by dcb breaking lsof compare (bgo#719504)
    
    https://bugzilla.gnome.org/show_bug.cgi?id=719504

 src/openfiles.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/openfiles.cpp b/src/openfiles.cpp
index abadc07..cba41f2 100644
--- a/src/openfiles.cpp
+++ b/src/openfiles.cpp
@@ -162,7 +162,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! */
 }
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]