FileAlias.m
changeset 17 a1044ae95953
parent 11 e5976864dfe9
child 19 5ade3e09a827
     1.1 --- a/FileAlias.m	Sat May 24 13:24:33 2008 -0700
     1.2 +++ b/FileAlias.m	Wed Jul 16 10:50:34 2008 -0700
     1.3 @@ -199,7 +199,7 @@
     1.4      FSRef matches[count];
     1.5      
     1.6  #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5
     1.7 -    if( ! FSMatchAliasBulk(fromRefPtr, rules, _alias, &count, matches, &wasChanged, NULL, NULL), error ) {
     1.8 +    if( ! CheckOSErr( FSMatchAliasBulk(fromRefPtr, rules, _alias, &count, matches, &wasChanged, NULL, NULL), error) ) {
     1.9          NSLog(@"%@: FSMatchAliasBulk failed!",self);
    1.10          return nil;
    1.11      }