diff options
Diffstat (limited to 'apps/gui/icon.c')
-rw-r--r-- | apps/gui/icon.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/gui/icon.c b/apps/gui/icon.c index 53cfd87774..a473c82872 100644 --- a/apps/gui/icon.c +++ b/apps/gui/icon.c | |||
@@ -29,6 +29,7 @@ | |||
29 | #include "settings.h" | 29 | #include "settings.h" |
30 | #include "bmp.h" | 30 | #include "bmp.h" |
31 | #include "filetypes.h" | 31 | #include "filetypes.h" |
32 | #include "language.h" | ||
32 | 33 | ||
33 | #include "bitmaps/default_icons.h" | 34 | #include "bitmaps/default_icons.h" |
34 | #if defined(HAVE_REMOTE_LCD) && (NB_SCREENS > 1) | 35 | #if defined(HAVE_REMOTE_LCD) && (NB_SCREENS > 1) |
@@ -170,6 +171,8 @@ void screen_put_iconxy(struct screen * display, | |||
170 | #endif | 171 | #endif |
171 | draw_func = display->bitmap_part; | 172 | draw_func = display->bitmap_part; |
172 | 173 | ||
174 | if (lang_is_rtl()) | ||
175 | xpos = display->getwidth() - xpos - width; | ||
173 | draw_func(data, 0, height * icon, stride, xpos, ypos, width, height); | 176 | draw_func(data, 0, height * icon, stride, xpos, ypos, width, height); |
174 | } | 177 | } |
175 | 178 | ||