Changeset 0b9ac3c in mainline for uspace/app/edit/edit.c


Ignore:
Timestamp:
2010-02-23T19:03:28Z (16 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c62d2e1
Parents:
1ccafee (diff), 5e50394 (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/app/edit/edit.c

    r1ccafee r0b9ac3c  
    718718        wchar_t c;
    719719        size_t pos, size;
    720         unsigned s_column;
     720        int s_column;
    721721        coord_t csel_start, csel_end, ctmp;
    722722
     
    766766                s_column = pane.sh_column;
    767767                while (pos < size) {
    768                         if (csel_start.row == rbc.row && csel_start.column == s_column) {
     768                        if ((csel_start.row == rbc.row) && (csel_start.column == s_column)) {
    769769                                fflush(stdout);
    770770                                console_set_color(con, COLOR_BLACK, COLOR_RED, 0);
     
    772772                        }
    773773       
    774                         if (csel_end.row == rbc.row && csel_end.column == s_column) {
     774                        if ((csel_end.row == rbc.row) && (csel_end.column == s_column)) {
    775775                                fflush(stdout);
    776776                                console_set_color(con, COLOR_BLACK, COLOR_WHITE, 0);
     
    792792                }
    793793
    794                 if (csel_end.row == rbc.row && csel_end.column == s_column) {
     794                if ((csel_end.row == rbc.row) && (csel_end.column == s_column)) {
    795795                        fflush(stdout);
    796796                        console_set_color(con, COLOR_BLACK, COLOR_WHITE, 0);
Note: See TracChangeset for help on using the changeset viewer.