mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-16 22:40:53 +08:00
osdep/language-win: advance through preferred UI languages
This commit is contained in:
committed by
Kacper Michajłow
parent
c3ac7f3951
commit
ec38361c56
@@ -31,6 +31,7 @@ static void apppend_langs(char ***ret, size_t *ret_count, wchar_t *buf, ULONG co
|
||||
char *item = mp_to_utf8(NULL, buf + pos);
|
||||
MP_TARRAY_APPEND(NULL, *ret, *ret_count, item);
|
||||
talloc_steal(*ret, item);
|
||||
pos += wcslen(buf + pos) + 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user