Changeset 7bdcc45 in mainline for uspace/lib/clui/tinput.c


Ignore:
Timestamp:
2010-12-16T16:38:49Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7837101
Parents:
8e58f94 (diff), eb221e5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/clui/tinput.c

    r8e58f94 r7bdcc45  
    140140static void tinput_update_origin(tinput_t *ti)
    141141{
    142         ipcarg_t width = ti->col0 + ti->nc;
    143         ipcarg_t rows = (width / ti->con_cols) + 1;
     142        sysarg_t width = ti->col0 + ti->nc;
     143        sysarg_t rows = (width / ti->con_cols) + 1;
    144144       
    145145        /* Update row0 if the screen scrolled. */
     
    153153                return;
    154154       
    155         ipcarg_t new_width = ti->col0 + ti->nc + 1;
     155        sysarg_t new_width = ti->col0 + ti->nc + 1;
    156156        if (new_width % ti->con_cols == 0) {
    157157                /* Advancing to new line. */
    158                 ipcarg_t new_height = (new_width / ti->con_cols) + 1;
     158                sysarg_t new_height = (new_width / ti->con_cols) + 1;
    159159                if (new_height >= ti->con_rows) {
    160160                        /* Disallow text longer than 1 page for now. */
     
    184184                return;
    185185       
    186         ipcarg_t new_width = ti->col0 + ti->nc + ilen;
    187         ipcarg_t new_height = (new_width / ti->con_cols) + 1;
     186        sysarg_t new_width = ti->col0 + ti->nc + ilen;
     187        sysarg_t new_height = (new_width / ti->con_cols) + 1;
    188188        if (new_height >= ti->con_rows) {
    189189                /* Disallow text longer than 1 page for now. */
Note: See TracChangeset for help on using the changeset viewer.