X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmisc%2Fdarwin_specific.c;h=f14d54b8ce8d575eddc85d2fc7eff0a6f1700f2f;hb=6ee1e193fd896ab9a4729fde14f009d9ce629815;hp=85849b8b830431946c04d9008f134f5cec45d5bc;hpb=3305b049e7f587b23359a1c9047fb5763d19c1dc;p=vlc diff --git a/src/misc/darwin_specific.c b/src/misc/darwin_specific.c index 85849b8b83..f14d54b8ce 100644 --- a/src/misc/darwin_specific.c +++ b/src/misc/darwin_specific.c @@ -49,7 +49,7 @@ static CFArrayRef copy_all_locale_indentifiers(void) while ( (file = readdir(dir)) ) { /* we should probably filter out garbage */ - /* we can't use CFStringCreateWithFileSystemRepresentation as it is + /* we can't use CFStringCreateWithFileSystemRepresentation as it is * supported only on post-10.4 (and this function is only for pre-10.4) */ CFStringRef locale = CFStringCreateWithCString( kCFAllocatorDefault, file->d_name, kCFStringEncodingUTF8 ); CFArrayAppendValue( available_locales, (void*)locale ); @@ -107,7 +107,7 @@ void system_Init( libvlc_int_t *p_this, int *pi_argc, char *ppsz_argv[] ) /* Retrieve the preferred language as chosen in System Preferences.app (note that CFLocaleCopyCurrent() is not used because it returns the - prefered locale not language) + prefered locale not language) */ CFArrayRef all_locales, preferred_locales; char psz_locale[50];