[gnome-commander/ConfigurableFileListColumns] noop: code refactoring
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander/ConfigurableFileListColumns] noop: code refactoring
- Date: Mon, 8 Jul 2019 21:05:13 +0000 (UTC)
commit eebac0e9738a5d2fe687c39533805e72346b5295
Author: Uwe Scholz <u scholz83 gmx de>
Date: Mon Jun 10 22:08:00 2019 +0200
noop: code refactoring
src/gnome-cmd-file-list.cc | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-cmd-file-list.cc b/src/gnome-cmd-file-list.cc
index 99596b98..947dabba 100644
--- a/src/gnome-cmd-file-list.cc
+++ b/src/gnome-cmd-file-list.cc
@@ -2050,9 +2050,10 @@ gboolean GnomeCmdFileList::insert_file(GnomeCmdFile *f)
priv->visible_files.add(f);
add_file_to_clist (this, f, i);
- if (i<=priv->cur_file)
+ if (i <= priv->cur_file)
+ {
priv->cur_file++;
-
+ }
return TRUE;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]