[vlc-devel] commit: Remove useless check ( Rémi Denis-Courmont )
git version control
git at videolan.org
Thu Mar 27 21:58:43 CET 2008
vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Thu Mar 27 22:58:57 2008 +0200| [1e81cdfb2e1fb6f69b8aa9b3c4f5f943a5013a06]
Remove useless check
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1e81cdfb2e1fb6f69b8aa9b3c4f5f943a5013a06
---
modules/gui/macosx/prefs_widgets.m | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/gui/macosx/prefs_widgets.m b/modules/gui/macosx/prefs_widgets.m
index 2b0782c..4b58cce 100644
--- a/modules/gui/macosx/prefs_widgets.m
+++ b/modules/gui/macosx/prefs_widgets.m
@@ -1988,7 +1988,7 @@
unsigned int i;
o_keys_menu = [[NSMenu alloc] initWithTitle: @"Keys Menu"];
for ( i = 0; i < sizeof(vlc_keys) / sizeof(key_descriptor_t); i++)
- if( vlc_keys[i].psz_key_string && *vlc_keys[i].psz_key_string )
+ if( vlc_keys[i].psz_key_string )
POPULATE_A_KEY( o_keys_menu,
[NSString stringWithUTF8String:vlc_keys[i].psz_key_string]
, vlc_keys[i].i_key_code)
More information about the vlc-devel
mailing list