Browse Source

use astrcmpi to prevent multiplatform clib incompatibility

jp9000 12 years ago
parent
commit
257cbd77ba
1 changed files with 2 additions and 1 deletions
  1. 2 1
      obs/obs-app.cpp

+ 2 - 1
obs/obs-app.cpp

@@ -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;