Mask out VCENTER, CENTER and RIGHT flags
This commit is contained in:
@@ -512,6 +512,7 @@ void drawTextLines(BitmapBuffer * dc, coord_t left, coord_t top, coord_t width,
|
|||||||
coord_t space = getTextWidth(" ", 1, flags);
|
coord_t space = getTextWidth(" ", 1, flags);
|
||||||
coord_t word;
|
coord_t word;
|
||||||
const char * nxt = str;
|
const char * nxt = str;
|
||||||
|
flags &= ~(VCENTERED | CENTERED | RIGHT);
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
for (bool done = false; !done; nxt++) {
|
for (bool done = false; !done; nxt++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user