Changeset 914

Show
Ignore:
Timestamp:
07/15/08 00:35:29 (2 months ago)
Author:
astrange
Message:

Rename GetHomeDirectory?() to CopyHomeDirectory?(), since it returns a string copy.
Might shut up Clang.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/FFusionCodec.c

    r913 r914  
    162162 
    163163extern void init_FFmpeg(); 
    164 extern CFMutableStringRef GetHomeDirectory(); 
     164extern CFMutableStringRef CopyHomeDirectory(); 
    165165 
    166166#define FFusionDebugPrint(x...) if (glob->fileLog) Codecprintf(glob->fileLog, x); 
     
    213213    //Two places to check, home dir and / 
    214214     
    215     CFMutableStringRef location = GetHomeDirectory(); 
     215    CFMutableStringRef location = CopyHomeDirectory(); 
    216216    CFStringAppend(location, CFSTR("/Library/PreferencePanes/Perian.prefPane/Contents/Resources/PerianUpdateChecker.app")); 
    217217     
  • trunk/Subtitles/SubUtilities.m

    r821 r914  
    141141} 
    142142 
    143 CFMutableStringRef GetHomeDirectory() 
     143CFMutableStringRef CopyHomeDirectory() 
    144144{ 
    145145        NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];