mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-10-10 08:03:04 -04:00
h1x0/h3x0: Get rid of redundant cut-down bidi_l2v() function
The one in the main bidi.c is already cut-down for bootloader builds Change-Id: I4465419393b0eda91fb69bd4c3353f7c31e1e98d
This commit is contained in:
parent
0b2caf7338
commit
34368013c1
2 changed files with 0 additions and 28 deletions
|
|
@ -599,17 +599,3 @@ int usb_screen(void)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
ucschar_t *bidi_l2v(const unsigned char *str, int orientation)
|
|
||||||
{
|
|
||||||
static ucschar_t utf_buf[SCROLL_LINE_SIZE];
|
|
||||||
ucschar_t *target;
|
|
||||||
(void)orientation;
|
|
||||||
|
|
||||||
target = utf_buf;
|
|
||||||
|
|
||||||
while (*str)
|
|
||||||
str = utf8decode(str, target++);
|
|
||||||
*target = 0;
|
|
||||||
return utf_buf;
|
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -668,17 +668,3 @@ int usb_screen(void)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
ucschar_t *bidi_l2v(const unsigned char *str, int orientation)
|
|
||||||
{
|
|
||||||
static ucschar_t utf_buf[SCROLL_LINE_SIZE];
|
|
||||||
ucschar_t *target;
|
|
||||||
(void)orientation;
|
|
||||||
|
|
||||||
target = utf_buf;
|
|
||||||
|
|
||||||
while (*str)
|
|
||||||
str = utf8decode(str, target++);
|
|
||||||
*target = 0;
|
|
||||||
return utf_buf;
|
|
||||||
}
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue