From 70f97efa720ee2366cb6c1eeefb211c11fd88a63 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 15 Jun 2013 18:59:52 +0200 Subject: vo: define VO_TRUE/FALSE to C99 constants This make the intention more apparent, and some VOs are actually using true instead of VO_TRUE in some places. Hopefully this changes makes it less confusing (instead of more). The C99 constants true/false are defined to 1/0 as well, so this commit doesn't actually change anything. --- video/out/vo.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/video/out/vo.h b/video/out/vo.h index c1ab0eff8b..2ac993923d 100644 --- a/video/out/vo.h +++ b/video/out/vo.h @@ -110,8 +110,8 @@ struct voctrl_screenshot_args { bool has_osd; }; -#define VO_TRUE 1 -#define VO_FALSE 0 +#define VO_TRUE true +#define VO_FALSE false #define VO_ERROR -1 #define VO_NOTAVAIL -2 #define VO_NOTIMPL -3 -- cgit v1.2.3