[gnome-commander/ConfigurableFileListColumns: 8/9] noop: Variable renaming



commit bdc11c995cd8cbfca2c9bba1f06e1506c9239081
Author: Uwe Scholz <u scholz83 gmx de>
Date:   Fri May 3 22:42:32 2019 +0200

    noop: Variable renaming

 src/gnome-cmd-file-list.cc | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/src/gnome-cmd-file-list.cc b/src/gnome-cmd-file-list.cc
index caaea97e..f08b074c 100644
--- a/src/gnome-cmd-file-list.cc
+++ b/src/gnome-cmd-file-list.cc
@@ -1877,9 +1877,11 @@ inline void add_file_to_clist (GnomeCmdFileList *fl, GnomeCmdFile *f, gint in_ro
 {
     GtkCList *clist = *fl;
 
-    FileFormatData data(fl, f,FALSE);
+    FileFormatData fileFormatData(fl, f, FALSE);
 
-    gint row = in_row == -1 ? gtk_clist_append (clist, data.text) : gtk_clist_insert (clist, in_row, 
data.text);
+    gint row = in_row == -1
+        ? gtk_clist_append (clist, fileFormatData.text)
+        : gtk_clist_insert (clist, in_row, fileFormatData.text);
 
     // Setup row data and color
     if (!gnome_cmd_data.options.use_ls_colors)
@@ -2008,10 +2010,10 @@ void GnomeCmdFileList::update_file(GnomeCmdFile *f)
     if (row == -1)
         return;
 
-    FileFormatData data(this, f, FALSE);
+    FileFormatData fileFormatData(this, f, FALSE);
 
     for (gint i=1; i<NUM_COLUMNS; i++)
-        gtk_clist_set_text (*this, row, i, data.text[i]);
+        gtk_clist_set_text (*this, row, i, fileFormatData.text[i]);
 
     if (gnome_cmd_data.options.layout != GNOME_CMD_LAYOUT_TEXT)
     {
@@ -2032,10 +2034,10 @@ void GnomeCmdFileList::show_dir_tree_size(GnomeCmdFile *f)
     if (row == -1)
         return;
 
-    FileFormatData data(this, f,TRUE);
+    FileFormatData fileFormatData(this, f, TRUE);
 
     for (gint i=1; i<NUM_COLUMNS; i++)
-        gtk_clist_set_text (*this, row, i, data.text[i]);
+        gtk_clist_set_text (*this, row, i, fileFormatData.text[i]);
 }
 
 


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