[vlc-devel] commit: darwin_specific: Save some expansive work at startup if we don' t do NLS. (Pierre d'Herbemont )
git version control
git at videolan.org
Wed Dec 30 04:58:11 CET 2009
vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Wed Dec 30 04:04:46 2009 +0100| [e4d8bc6250b32bdea05a6a6af69b13d0dd8f4108] | committer: Pierre d'Herbemont
darwin_specific: Save some expansive work at startup if we don't do NLS.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e4d8bc6250b32bdea05a6a6af69b13d0dd8f4108
---
src/misc/darwin_specific.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/misc/darwin_specific.c b/src/misc/darwin_specific.c
index a156718..0efdd6d 100644
--- a/src/misc/darwin_specific.c
+++ b/src/misc/darwin_specific.c
@@ -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
}
/*****************************************************************************
More information about the vlc-devel
mailing list