Skip to content

Commit

Permalink
Manipulator - remove minimum width for Labors column, since it trigge…
Browse files Browse the repository at this point in the history
…red the "should never happen" case upon extending the first column from 4 to 6
  • Loading branch information
quietust committed Nov 1, 2014
1 parent 7c92f4a commit bad9231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/manipulator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ void viewscreen_unitlaborsst::calcSize()
col_maxwidth[DISP_COLUMN_NAME] = 16; // adjusted in the loop below
col_minwidth[DISP_COLUMN_PROFESSION_OR_SQUAD] = 10;
col_maxwidth[DISP_COLUMN_PROFESSION_OR_SQUAD] = 10; // adjusted in the loop below
col_minwidth[DISP_COLUMN_LABORS] = num_columns*3/5; // 60%
col_minwidth[DISP_COLUMN_LABORS] = 1;
col_maxwidth[DISP_COLUMN_LABORS] = NUM_COLUMNS;

// get max_name/max_prof from strings length
Expand Down

0 comments on commit bad9231

Please sign in to comment.