Changeset c1f44ca in mainline
- Timestamp:
- 2018-04-15T12:33:43Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ba3841e2
- Parents:
- 18b6a88
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/clui/tinput.c
r18b6a88 rc1f44ca 623 623 unsigned int cols = max(1, (ti->con_cols + 1) / (max_width + 1)); 624 624 unsigned int padding = 0; 625 if ( (cols * max_width)+ (cols - 1) < ti->con_cols) {626 padding = ti->con_cols - (cols * max_width)- (cols - 1);625 if (cols * max_width + (cols - 1) < ti->con_cols) { 626 padding = ti->con_cols - cols * max_width - (cols - 1); 627 627 } 628 628 unsigned int col_width = max_width + padding / cols;
Note:
See TracChangeset
for help on using the changeset viewer.