Commit bc7d87b7 authored by Felix Paul Kühne's avatar Felix Paul Kühne

* fixed minor typo

parent 33bc0156
...@@ -50,8 +50,8 @@ static CFArrayRef copy_all_locale_indentifiers(void) ...@@ -50,8 +50,8 @@ static CFArrayRef copy_all_locale_indentifiers(void)
while ( (file = readdir(dir)) ) while ( (file = readdir(dir)) )
{ {
/* we should probably filter out garbage */ /* we should probably filter out garbage */
/* we can't use CFStringCreateWithFileSystemRepresentation as it is supported only on post-10.4 /* we can't use CFStringCreateWithFileSystemRepresentation as it is
(and this function is only for pre-10.2) */ * supported only on post-10.4 (and this function is only for pre-10.4) */
CFStringRef locale = CFStringCreateWithCString( kCFAllocatorDefault, file->d_name, kCFStringEncodingUTF8 ); CFStringRef locale = CFStringCreateWithCString( kCFAllocatorDefault, file->d_name, kCFStringEncodingUTF8 );
CFArrayAppendValue( available_locales, (void*)locale ); CFArrayAppendValue( available_locales, (void*)locale );
CFRelease( locale ); CFRelease( locale );
......
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