vlc | branch: master | David Fuhrmann <[email protected]> | Sun Feb 28 
14:48:33 2016 +0100| [ae0cd5b6895f8fc6b6ff27f32d9615a3d0f5277e] | committer: 
David Fuhrmann

macosx: use var_InheritBool to read disable-screensaver

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ae0cd5b6895f8fc6b6ff27f32d9615a3d0f5277e
---

 modules/gui/macosx/InputManager.m |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/macosx/InputManager.m 
b/modules/gui/macosx/InputManager.m
index c6ddbcd..ab95990 100644
--- a/modules/gui/macosx/InputManager.m
+++ b/modules/gui/macosx/InputManager.m
@@ -284,7 +284,7 @@ static int InputEvent(vlc_object_t *p_this, const char 
*psz_var,
             }
         }
 
-        BOOL shouldDisableScreensaver = var_InheritInteger(p_intf, 
"disable-screensaver");
+        BOOL shouldDisableScreensaver = var_InheritBool(p_intf, 
"disable-screensaver");
 
         /* Declare user activity.
          This wakes the display if it is off, and postpones display sleep 
according to the users system preferences

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to