Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset ece5982 in mainline


Ignore:
Timestamp:
2021-02-25T16:57:30Z (18 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial
Children:
fe40b67
Parents:
bac8acab
Message:

Right-aligned text was off by one column

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/gfxfont/src/text.c

    rbac8acab rece5982  
    178178                        break;
    179179                case gfx_halign_right:
    180                         cpos.x -= width;
     180                        cpos.x -= width - 1;
    181181                        break;
    182182                default:
Note: See TracChangeset for help on using the changeset viewer.