[gnome-commander] GnomeCmdFileList: minor speedups in file selection
- From: Piotr Eljasiak <epiotr src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-commander] GnomeCmdFileList: minor speedups in file selection
- Date: Sun, 11 Jul 2010 13:48:49 +0000 (UTC)
commit fad5568be975baa8211c358b2f80b1e25e118899
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Sun Jul 11 15:46:51 2010 +0200
    GnomeCmdFileList: minor speedups in file selection
 src/gnome-cmd-file-list.cc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-cmd-file-list.cc b/src/gnome-cmd-file-list.cc
index 4131a3c..d5b7323 100644
--- a/src/gnome-cmd-file-list.cc
+++ b/src/gnome-cmd-file-list.cc
@@ -1226,9 +1226,9 @@ static void on_motion_notify (GtkCList *clist, GdkEventMotion *event, GnomeCmdFi
 
         row = gnome_cmd_clist_get_row (*fl, event->x, y);
 
-        if (row++ != -1)
+        if (row != -1)
         {
-            GnomeCmdFile *f = fl->get_file_at_row(row);
+            GnomeCmdFile *f = fl->get_file_at_row(++row);
             if (f)
             {
                 fl->select_row(row);
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]