Browse Source

Force discovery to be in "C" (english) so we can parse errors

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.2.0-RC1
falkTX 4 years ago
parent
commit
f9e761e15b
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      source/discovery/carla-discovery.cpp

+ 5
- 1
source/discovery/carla-discovery.cpp View File

@@ -1650,7 +1650,11 @@ int main(int argc, char* argv[])
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
// Initialize OS features // Initialize OS features


const CarlaScopedLocale csl;
// we want stuff in English so we can parse error messages
::setlocale(LC_ALL, "C");
#ifndef CARLA_OS_WIN
carla_setenv("LC_ALL", "C");
#endif


#ifdef CARLA_OS_WIN #ifdef CARLA_OS_WIN
OleInitialize(nullptr); OleInitialize(nullptr);


Loading…
Cancel
Save