Skip to content

osdep/language-win: fix use of GetUserPreferredUILanguages()#17282

Merged
sfan5 merged 1 commit intompv-player:masterfrom
kasper93:fix-lang-win
Jan 18, 2026
Merged

osdep/language-win: fix use of GetUserPreferredUILanguages()#17282
sfan5 merged 1 commit intompv-player:masterfrom
kasper93:fix-lang-win

Conversation

@kasper93
Copy link
Member

@kasper93 kasper93 commented Jan 18, 2026

Commit baf2fd2 fixed this for 2nd call to GetSystemPreferredUILanguages(), but apparently regressed the 1st call, duh.

To retrieve the size both buffer has to be NULL and size 0.

Memory has a lot of zeros, because it has been working quite consistently on CI.

Commit baf2fd2 fixed this for 2nd call
to GetSystemPreferredUILanguages(), but apparently regressed the 1st
call, duh.

To retrieve the size both buffer has to be NULL and size 0.

Memory has a lot of zeros, because it has been working quite
consistently on CI.
@sfan5 sfan5 merged commit a339fe5 into mpv-player:master Jan 18, 2026
30 checks passed
@kasper93 kasper93 deleted the fix-lang-win branch January 18, 2026 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants