mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-13 16:03:23 -05:00
Fix blindingly obvious utf-16 to utf-8 bug, fixes bug #89
This commit is contained in:
parent
00dd561aac
commit
4fd83e45a9
@ -650,7 +650,7 @@ char *wma_utf16toutf8(unsigned char *utf16, int len) {
|
||||
}
|
||||
|
||||
while(bytes) {
|
||||
*dst++ = 0x80 | ((w1 >> (6*bytes)) & 0x3f);
|
||||
*dst++ = 0x80 | ((w1 >> (6*(bytes-1))) & 0x3f);
|
||||
bytes--;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user