Fixed column finding without all columns visible

Fixed a bug where the column returned when all columns were not
visible would be less than 1.

Consolidated the calculating of the column index into a single function.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
1 file changed