[vlc-commits] macosx: fix ModuleConfigControl stringValue
Lyndon Brown
git at videolan.org
Fri Oct 2 07:18:23 CEST 2020
vlc | branch: master | Lyndon Brown <jnqnfe at gmail.com> | Tue Apr 9 04:56:08 2019 +0100| [036be65ee6766e6dec18348e0a7c0137a6bdf795] | committer: Felix Paul Kühne
macosx: fix ModuleConfigControl stringValue
Signed-off-by: Felix Paul Kühne <felix at feepk.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=036be65ee6766e6dec18348e0a7c0137a6bdf795
---
modules/gui/macosx/preferences/prefs_widgets.m | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/macosx/preferences/prefs_widgets.m b/modules/gui/macosx/preferences/prefs_widgets.m
index 7dffab2899..36859c7014 100644
--- a/modules/gui/macosx/preferences/prefs_widgets.m
+++ b/modules/gui/macosx/preferences/prefs_widgets.m
@@ -1248,7 +1248,7 @@ o_textfield = [[NSSecureTextField alloc] initWithFrame: s_rc]; \
module_config_t *p_cfg = p_config + i;
/* Hack: required subcategory is stored in i_min */
if (p_cfg->i_type == CONFIG_SUBCATEGORY &&
- p_cfg->value.i == p_cfg->min.i) {
+ p_cfg->value.i == self.p_item->min.i) {
NSString *o_description = _NS(module_get_name(p_parser, TRUE));
if ([newval isEqualToString: o_description]) {
returnval = strdup(module_get_object(p_parser));
More information about the vlc-commits
mailing list