diff options
Diffstat (limited to 'firmware/drivers')
-rw-r--r-- | firmware/drivers/lcd-bitmap-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/lcd-bitmap-common.c b/firmware/drivers/lcd-bitmap-common.c index 5bf4706c59..042500cce8 100644 --- a/firmware/drivers/lcd-bitmap-common.c +++ b/firmware/drivers/lcd-bitmap-common.c | |||
@@ -92,7 +92,7 @@ static void LCDFN(putsxyofs)(int x, int y, int ofs, const unsigned char *str) | |||
92 | 92 | ||
93 | LCDFN(getstringsize)(str, &w, NULL); | 93 | LCDFN(getstringsize)(str, &w, NULL); |
94 | /* center takes precedence */ | 94 | /* center takes precedence */ |
95 | if (vp_flags & VP_FLAG_CENTER_ALIGN) | 95 | if (vp_flags & VP_FLAG_ALIGN_CENTER) |
96 | x = ((current_vp->width - w)/ 2) + x; | 96 | x = ((current_vp->width - w)/ 2) + x; |
97 | else | 97 | else |
98 | x = current_vp->width - w - x; | 98 | x = current_vp->width - w - x; |