[gnome-commander] Clearify expression
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] Clearify expression
- Date: Fri, 7 Oct 2016 21:13:11 +0000 (UTC)
commit 85bdcb5f8fe6afe599cb09d6ba780e93393f7d08
Author: Uwe Scholz <uwescholz src gnome org>
Date: Fri Oct 7 22:50:57 2016 +0200
Clearify expression
src/gnome-cmd-file-list.cc | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gnome-cmd-file-list.cc b/src/gnome-cmd-file-list.cc
index 10e4c66..15bb2af 100644
--- a/src/gnome-cmd-file-list.cc
+++ b/src/gnome-cmd-file-list.cc
@@ -474,7 +474,7 @@ void GnomeCmdFileList::select_file(GnomeCmdFile *f, gint row)
if (!gnome_cmd_data.options.use_ls_colors)
- gtk_clist_set_row_style (*this, row, row%2 ? alt_sel_list_style : sel_list_style);
+ gtk_clist_set_row_style (*this, row, (row % 2) ? alt_sel_list_style : sel_list_style);
else
{
GnomeCmdColorTheme *colors = gnome_cmd_data.options.get_current_color_theme();
@@ -509,7 +509,7 @@ void GnomeCmdFileList::unselect_file(GnomeCmdFile *f, gint row)
priv->selected_files.remove(f);
if (!gnome_cmd_data.options.use_ls_colors)
- gtk_clist_set_row_style (*this, row, row%2 ? alt_list_style : list_style);
+ gtk_clist_set_row_style (*this, row, (row % 2) ? alt_list_style : list_style);
else
if (LsColor *col = ls_colors_get (f))
{
@@ -1676,7 +1676,7 @@ inline void add_file_to_clist (GnomeCmdFileList *fl, GnomeCmdFile *f, gint in_ro
// Setup row data and color
if (!gnome_cmd_data.options.use_ls_colors)
- gtk_clist_set_row_style (clist, row, row%2 ? alt_list_style : list_style);
+ gtk_clist_set_row_style (clist, row, (row % 2) ? alt_list_style : list_style);
else
{
LsColor *col = ls_colors_get (f);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]