Changeset ba2a055 in mainline


Ignore:
Timestamp:
2009-06-10T21:59:58Z (15 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
92d34f0b
Parents:
fc02cc41
Message:

Fix coordinate issues in EGA fb.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fb/ega.c

    rfc02cc41 rba2a055  
    150150        scr_addr[(row * scr_width + col) * 2 + 1] = style;
    151151       
    152         cursor_goto(row, col + 1);
     152        cursor_goto(col + 1, row);
    153153}
    154154
     
    317317                        break;
    318318                case FB_GET_CSIZE:
    319                         ipc_answer_2(callid, EOK, scr_height, scr_width);
     319                        ipc_answer_2(callid, EOK, scr_width, scr_height);
    320320                        continue;
    321321                case FB_CLEAR:
Note: See TracChangeset for help on using the changeset viewer.