Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/edit/edit.c

    r96b02eb9 r9f1362d4  
    100100static bool cursor_visible;
    101101
    102 static sysarg_t scr_rows;
    103 static sysarg_t scr_columns;
     102static ipcarg_t scr_rows;
     103static ipcarg_t scr_columns;
    104104
    105105#define ROW_BUF_SIZE 4096
     
    684684       
    685685        int i;
    686         sysarg_t j;
     686        ipcarg_t j;
    687687        for (i = rows; i < pane.rows; ++i) {
    688688                console_set_pos(con, 0, i);
     
    781781                        c = str_decode(row_buf, &pos, size);
    782782                        if (c != '\t') {
    783                                 printf("%lc", (wint_t) c);
     783                                printf("%lc", c);
    784784                                s_column += 1;
    785785                        } else {
     
    830830        int n = printf(" %d, %d: File '%s'. Ctrl-Q Quit  Ctrl-S Save  "
    831831            "Ctrl-E Save As", coord.row, coord.column, fname);
    832        
    833         int pos = scr_columns - 1 - n;
    834         printf("%*s", pos, "");
     832        printf("%*s", scr_columns - 1 - n, "");
    835833        fflush(stdout);
    836834        console_set_style(con, STYLE_NORMAL);
     
    11551153        console_set_pos(con, 0, scr_rows - 1);
    11561154        console_set_style(con, STYLE_INVERTED);
    1157        
    1158         int pos = -(scr_columns - 3);
    1159         printf(" %*s ", pos, str);
     1155        printf(" %*s ", -(scr_columns - 3), str);
    11601156        fflush(stdout);
    11611157        console_set_style(con, STYLE_NORMAL);
Note: See TracChangeset for help on using the changeset viewer.