Changeset 2209f2992dc3eda6a55a3f07e2f22f2caf772ac2

Show
Ignore:
Timestamp:
27/02/08 22:34:27 (9 months ago)
Author:
Felix Paul Kühne <fkuehne@videolan.org>
git-committer:
Felix Paul Kühne <fkuehne@videolan.org> 1204148067 +0000
git-parent:

[887efa47545fa1e6b08acdb1d1a026049bbafe75]

git-author:
Felix Paul Kühne <fkuehne@videolan.org> 1204148067 +0000
Message:

* coding style fixes (please don't do [NSString string], but use an empty constant. It's faster and nicer)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/gui/macosx/update.h

    re9347d2 r2209f29  
    2323 *****************************************************************************/ 
    2424 
    25 #ifdef HAVE_CONFIG_H 
    26 #   include "config.h" 
    27 #endif 
    28  
    2925#ifdef UPDATE_CHECK 
    3026#import <Cocoa/Cocoa.h> 
     27#import "intf.h" 
    3128#import <vlc_update.h> 
    3229 
  • modules/gui/macosx/update.m

    r818a663 r2209f29  
    2323 *****************************************************************************/ 
    2424 
    25 #ifdef HAVE_CONFIG_H 
    26 #   include "config.h" 
    27 #endif 
    28  
    2925#ifdef UPDATE_CHECK 
    3026 
     
    3329 *****************************************************************************/ 
    3430#import "update.h" 
    35 #import "intf.h" 
    3631 
    3732static NSString * kPrefUpdateOnStartup = @"UpdateOnStartup"; 
     
    174169    if( uptodate ) 
    175170    { 
    176         [o_fld_releaseNote setString: [NSString string]]; 
    177         [o_fld_currentVersion setStringValue: [NSString string]]; 
     171        [o_fld_releaseNote setString: @""]; 
     172        [o_fld_currentVersion setStringValue: @""]; 
    178173        [o_fld_status setStringValue: _NS("This version of VLC is the latest available.")]; 
    179174        [o_btn_DownloadNow setEnabled: NO]; 
     
    213208- (void)performDownload:(NSString *)path 
    214209{ 
    215     update_Download( p_u, (char*)[path UTF8String] ); 
     210    update_Download( p_u, [path UTF8String] ); 
    216211    [o_btn_DownloadNow setEnabled: NO]; 
    217212    [o_update_window orderOut: self];