From b0e0f0de124209f90452416ec2bf396b7f5c380c Mon Sep 17 00:00:00 2001 From: Javi Fontan Date: Tue, 18 Sep 2012 18:12:50 +0200 Subject: [PATCH] feature #1353: bug in the state colour function --- src/cli/cli_helper.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/cli/cli_helper.rb b/src/cli/cli_helper.rb index d13cf04112..52ee6954cd 100644 --- a/src/cli/cli_helper.rb +++ b/src/cli/cli_helper.rb @@ -217,7 +217,9 @@ module CLIHelper col=@default_columns[i] str=format_str(col, dat) - CLIHelper.color_state(str) if i=stat_column + str=CLIHelper.color_state(str) if i==stat_column + + str }.join(' ') }.join("\n") rescue Errno::EPIPE