Add API for setting/getting current locale

This API is used to set the current locale for libobs, which it will set
for all modules when a module is loaded or specifically when the locale
is manually changed.
This commit is contained in:
jp9000 committed 2014-06-25 12:36:17 -07:00
1 parent 9f652e6416
commit 899f053034
6 files changed
+42 -8

No files matched your search

+1 -1
View File
@@ -71,7 +71,7 @@ static void CreateOBS(HWND hwnd)
RECT rc;
GetClientRect(hwnd, &rc);
if (!obs_startup())
if (!obs_startup("en"))
throw "Couldn't create OBS";
struct obs_video_info ovi;