Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/cmds/modules/cat/cat.c

    r28a5ebd r09ab0a9a  
    154154}
    155155
    156 static void paged_char(char32_t c)
     156static void paged_char(wchar_t c)
    157157{
    158158        if (last_char_was_newline && number) {
     
    160160                printf("%6u  ", lineno);
    161161        }
    162         putuchar(c);
     162        putwchar(c);
    163163        last_char_was_newline = c == '\n';
    164164        if (paging_enabled) {
     
    269269                                        paged_char(((count + i + 1) & 0xf) == 0 ? '\n' : ' ');
    270270                                } else {
    271                                         char32_t c = str_decode(buff, &offset, bytes);
     271                                        wchar_t c = str_decode(buff, &offset, bytes);
    272272                                        if (c == 0) {
    273273                                                /* Reached end of string */
Note: See TracChangeset for help on using the changeset viewer.