From 88d843f909f00ffd9c25016a9af58546fabbfd2c Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 8 Feb 2013 21:09:18 +0100 Subject: cleanup: replace OPT_FLAG_ON and OPT_MAKE_FLAGS with OPT_FLAG OPT_MAKE_FLAGS() used to emit two options (one with "no" prefixed), but that has been long removed by special casing flag options in the option parser. OPT_FLAG_ON() used to imply that there's no "no-" prefixed option, but this hasn't been the case for a while either. (Conceptually, it has been replaced by OPT_FLAG_STORE().) Remove OPT_FLAG_OFF, which was unused. --- video/out/vo_sdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/out/vo_sdl.c') diff --git a/video/out/vo_sdl.c b/video/out/vo_sdl.c index ec4cc97ca0..e708b3afc6 100644 --- a/video/out/vo_sdl.c +++ b/video/out/vo_sdl.c @@ -1035,7 +1035,7 @@ const struct vo_driver video_out_sdl = { .renderer_index = -1 }, .options = (const struct m_option []){ - OPT_FLAG_ON("sw", allow_sw, 0), + OPT_FLAG("sw", allow_sw, 0), {NULL} }, .preinit = preinit, -- cgit v1.2.3