Changeset f2962621 in mainline for uspace/lib/clui/tinput.c


Ignore:
Timestamp:
2010-12-17T10:14:01Z (13 years ago)
Author:
Matus Dekanek <smekideki@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6e5dc07
Parents:
9223dc5c (diff), 11658b64 (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 with usb/development

File:
1 edited

Legend:

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

    r9223dc5c rf2962621  
    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.