[gnome-commander] Revert for the bug introduced in previous commit



commit f1dad1db1a2467513612b0fc79ff476172d385b5
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Fri Dec 4 23:04:12 2009 +0100

    Revert for the bug introduced in previous commit

 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 7df8e1f..0aae8f5 100644
--- a/src/gnome-cmd-file-list.cc
+++ b/src/gnome-cmd-file-list.cc
@@ -376,7 +376,7 @@ void GnomeCmdFileList::select_file(GnomeCmdFile *f, gint row)
         return;
 
     if (row == -1)
-        gint row = get_row_from_file(f);
+        row = get_row_from_file(f);
     if (row == -1)
         return;
 
@@ -408,7 +408,7 @@ void GnomeCmdFileList::unselect_file(GnomeCmdFile *f, gint row)
     g_return_if_fail (f != NULL);
 
     if (row == -1)
-        gint row = get_row_from_file(f);
+        row = get_row_from_file(f);
     if (row == -1)
         return;
 



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