Commit e4d8bc62 authored by Pierre's avatar Pierre

darwin_specific: Save some expansive work at startup if we don't do NLS.

parent c221eff5
......@@ -108,6 +108,7 @@ void system_Init( libvlc_int_t *p_this, int *pi_argc, const char *ppsz_argv[] )
p_char++;
}
#ifdef ENABLE_NLS
/* Check if $LANG is set. */
if( NULL == getenv("LANG") )
{
......@@ -135,6 +136,7 @@ void system_Init( libvlc_int_t *p_this, int *pi_argc, const char *ppsz_argv[] )
}
CFRelease( all_locales );
}
#endif
}
/*****************************************************************************
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment