]> git.sesse.net Git - vlc/commitdiff
* marq.c: const strings
authorDerk-Jan Hartman <hartman@videolan.org>
Mon, 11 Dec 2006 15:30:46 +0000 (15:30 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Mon, 11 Dec 2006 15:30:46 +0000 (15:30 +0000)
modules/video_filter/marq.c

index edc71c2810dac10ab546e9434e47fa60ec43fcb9..81ac14db5a7920c18cc9166d82bd23f10082cbf7 100644 (file)
@@ -53,7 +53,7 @@ static int pi_color_values[] = { 0xf0000000, 0x00000000, 0x00808080, 0x00C0C0C0,
                0x00FFFFFF, 0x00800000, 0x00FF0000, 0x00FF00FF, 0x00FFFF00,
                0x00808000, 0x00008000, 0x00008080, 0x0000FF00, 0x00800080,
                0x00000080, 0x000000FF, 0x0000FFFF};
-static char *ppsz_color_descriptions[] = { N_("Default"), N_("Black"),
+static const char *ppsz_color_descriptions[] = { N_("Default"), N_("Black"),
                N_("Gray"), N_("Silver"), N_("White"), N_("Maroon"), N_("Red"),
                N_("Fuchsia"), N_("Yellow"), N_("Olive"), N_("Green"),
                N_("Teal"), N_("Lime"), N_("Purple"), N_("Navy"), N_("Blue"),
@@ -122,7 +122,7 @@ struct filter_sys_t
   "also use combinations of these values, eg 6 = top-right).")
 
 static int pi_pos_values[] = { 0, 1, 2, 4, 8, 5, 6, 9, 10 };
-static char *ppsz_pos_descriptions[] =
+static const char *ppsz_pos_descriptions[] =
      { N_("Center"), N_("Left"), N_("Right"), N_("Top"), N_("Bottom"),
      N_("Top-Left"), N_("Top-Right"), N_("Bottom-Left"), N_("Bottom-Right") };