diff options
Diffstat (limited to 'apps/gui')
-rw-r--r-- | apps/gui/color_picker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/color_picker.c b/apps/gui/color_picker.c index 827be69460..026ae82c4c 100644 --- a/apps/gui/color_picker.c +++ b/apps/gui/color_picker.c | |||
@@ -250,7 +250,7 @@ static void draw_screen(struct screen *display, char *title, | |||
250 | /* Draw label */ | 250 | /* Draw label */ |
251 | buf[0] = str(LANG_COLOR_RGB_LABELS)[i]; | 251 | buf[0] = str(LANG_COLOR_RGB_LABELS)[i]; |
252 | buf[1] = '\0'; | 252 | buf[1] = '\0'; |
253 | display->putsxy(slider_left - display->getcharwidth() - | 253 | display->putsxy(slider_left - max_label_width - |
254 | SLIDER_MARGIN_LEFT, text_top, buf); | 254 | SLIDER_MARGIN_LEFT, text_top, buf); |
255 | 255 | ||
256 | /* Draw color value */ | 256 | /* Draw color value */ |