1
mirror of https://code.videolan.org/videolan/vlc synced 2024-10-11 06:21:30 +02:00

macosx: don't assign NULL as pref button tooltip

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
This commit is contained in:
Faustino E. Osuna 2012-01-22 15:58:14 +01:00 committed by Felix Paul Kühne
parent d6411a2a2a
commit bf8c4379b6

View File

@ -434,7 +434,7 @@ static inline char * __config_GetLabel( vlc_object_t *p_this, const char *psz_na
- (void)setupButton: (NSButton *)object forBoolValue: (const char *)name
{
[object setState: config_GetInt( p_intf, name )];
[object setToolTip: [NSString stringWithUTF8String: config_GetLabel( p_intf, name )]];
[object setToolTip: [NSString stringWithUTF8String: config_GetLabel( p_intf, name ) ?: ""]];
}
- (void)setupField:(NSTextField *)o_object forOption:(const char *)psz_option