Changeset 58fce89 in mainline


Ignore:
Timestamp:
2006-06-02T15:05:59Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bc54f56e
Parents:
1d181159
Message:

Don't move cursor on draw_text_data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fb/fb.c

    r1d181159 r58fce89  
    462462        int i;
    463463        char c;
     464        int col,row;
    464465
    465466        clear_port(vp);
     
    467468                if (data[i].character == ' ' && style_same(data[i].style,vport->style))
    468469                        continue;
    469                 draw_char(vp, data[i].character, i/vport->cols, i % vport->cols,
    470                           data[i].style);
     470                col = i % vport->cols;
     471                row = i / vport->cols;
     472                draw_glyph(vp, data[i].character, col * COL_WIDTH, row * FONT_SCANLINES, data[i].style);
    471473        }
    472474        cursor_print(vp);
Note: See TracChangeset for help on using the changeset viewer.