[vlc-commits] macosx: use var_Inherit* for large text setting
David Fuhrmann
git at videolan.org
Mon Sep 21 19:12:59 CEST 2015
vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sun Sep 20 14:19:18 2015 +0200| [177679d44a39b19206e7a5eb536e69a49e8bd65c] | committer: David Fuhrmann
macosx: use var_Inherit* for large text setting
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=177679d44a39b19206e7a5eb536e69a49e8bd65c
---
modules/gui/macosx/playlist.m | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/gui/macosx/playlist.m b/modules/gui/macosx/playlist.m
index ce1a074..923253d 100644
--- a/modules/gui/macosx/playlist.m
+++ b/modules/gui/macosx/playlist.m
@@ -109,7 +109,7 @@
{
NSFont *fontToUse;
CGFloat rowHeight;
- if (config_GetInt(VLCIntf, "macosx-large-text")) {
+ if (var_InheritBool(VLCIntf, "macosx-large-text")) {
fontToUse = [NSFont systemFontOfSize:13.];
rowHeight = 21.;
} else {
@@ -658,7 +658,7 @@
playlist_t *p_playlist = pl_Get(p_intf);
NSFont *fontToUse;
- if (config_GetInt(VLCIntf, "macosx-large-text"))
+ if (var_InheritBool(VLCIntf, "macosx-large-text"))
fontToUse = [NSFont systemFontOfSize:13.];
else
fontToUse = [NSFont systemFontOfSize:11.];
More information about the vlc-commits
mailing list