1
0
Fork 0
forked from len0rd/rockbox

Enable bidirectional text support for remote lcd.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7774 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2005-11-07 01:36:12 +00:00
parent 5acbd3e3c3
commit 4ab919e5d8

View file

@ -29,6 +29,7 @@
#include "debug.h"
#include "system.h"
#include "font.h"
#include "bidi.h"
/*** definitions ***/
@ -959,6 +960,9 @@ static void lcd_remote_putsxyofs(int x, int y, int ofs, const unsigned char *str
int ch;
struct font* pf = font_get(curfont);
if (bidi_support_enabled)
str = bidi_l2v(str, 1);
while ((ch = *str++) != '\0' && x < LCD_REMOTE_WIDTH)
{
int width;