diff options
author | phintuka <phintuka> | 2008-02-05 00:34:34 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2008-02-05 00:34:34 +0000 |
commit | 4fd266b06048bb9cafe32c99dd1f051c38cc2e43 (patch) | |
tree | b7d59fb5a5ce557913690e549e27978f9418fe21 | |
parent | f5b1600190c6937e86f89534426a96c6e12005a8 (diff) | |
download | xineliboutput-4fd266b06048bb9cafe32c99dd1f051c38cc2e43.tar.gz xineliboutput-4fd266b06048bb9cafe32c99dd1f051c38cc2e43.tar.bz2 |
strings -> const
-rw-r--r-- | setup_menu.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/setup_menu.c b/setup_menu.c index 0f6b9daa..d005f3bd 100644 --- a/setup_menu.c +++ b/setup_menu.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: setup_menu.c,v 1.42 2008-01-10 23:36:06 phelin Exp $ + * $Id: setup_menu.c,v 1.43 2008-02-05 00:34:34 phintuka Exp $ * */ @@ -380,7 +380,7 @@ void cMenuSetupAudioEq::Store(void) //--- cMenuSetupVideo -------------------------------------------------------- -static const char *tvtime_method[] = +static const char * const tvtime_method[] = { "use_vo_driver", "Linear", "LinearBlend", @@ -394,9 +394,9 @@ static const char *tvtime_method[] = "TomsMoComp", NULL}; -static const int tvtime_methods_count = (sizeof(tvtime_method)-1)/sizeof(char*); +static const int tvtime_methods_count = (sizeof(tvtime_method)/sizeof(tvtime_method[0]) - 1); -static const char *tvtime_method_name[] = +static const char * const tvtime_method_name[] = {"Use Video-Out Driver", // "use_vo_driver" "Linear Interpolation", // "Linear", "Linear Blend (mplayer)", // "LinearBlend", @@ -410,23 +410,23 @@ static const char *tvtime_method_name[] = "Tom's Motion Compensated (DScaler)", // "TomsMoComp", NULL}; -static const char *tvtime_pulldown[] = +static const char * const tvtime_pulldown[] = { "none", "vector", NULL}; -static const char *tvtime_pulldown_name[] = +static const char * const tvtime_pulldown_name[] = { "None", "Vector", NULL}; -static const char *tvtime_framerate[] = +static const char * const tvtime_framerate[] = { "full", "half_top", "half_bottom", NULL}; -static const char *tvtime_framerate_name[] = +static const char * const tvtime_framerate_name[] = { "Full", "Half (top)", "Half (bottom)", |