mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
use astrcmpi to prevent multiplatform clib incompatibility
This commit is contained in:
+2
-1
@@ -18,6 +18,7 @@
|
||||
#include <sstream>
|
||||
|
||||
#include <util/bmem.h>
|
||||
#include <util/dstr.h>
|
||||
#include <util/platform.h>
|
||||
|
||||
#include "obs-app.hpp"
|
||||
@@ -165,7 +166,7 @@ bool OBSApp::InitLocale()
|
||||
return false;
|
||||
}
|
||||
|
||||
if (strcmpi(lang, DEFAULT_LANG) == 0)
|
||||
if (astrcmpi(lang, DEFAULT_LANG) == 0)
|
||||
return true;
|
||||
|
||||
string path;
|
||||
|
||||
Reference in New Issue
Block a user