]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/richtext/bitmaps/save.xpm
Fix harmless gcc warning about uninitialized mask in PNG saving code.
[wxWidgets.git] / samples / richtext / bitmaps / save.xpm
index 3bf3abb3ee13c6ee3b04392f0c74c26f4d789cda..f87dc928d7cdda6de8bbfb6f8895e629f002ad94 100644 (file)
@@ -1,42 +1,43 @@
-/* XPM */
-static char *save_xpm[] = {
-/* columns rows colors chars-per-pixel */
-"16 15 21 1",
-"O c #FFFFFF",
-"> c #D5D6D8",
-"; c #446A8C",
-"1 c #CAD2DC",
-": c #C0C7D1",
-"  c #5F666D",
-"% c #A5B0BA",
-"o c #65839D",
-", c #DCE2EA",
-"< c #C3C5C8",
-"- c #E1E6EE",
-"* c #C6CCD3",
-". c None",
-"$ c #305F81",
-"2 c #D6DFE7",
-"= c #D2D9E0",
-"& c #B7BFC7",
-"X c #1B4467",
-"# c #BCBDBE",
-"@ c #7A90AC",
-"+ c #5D7C93",
-/* pixels */
-"               .",
-" XoOOOOOOOOO+X .",
-" @oO#######O+@ .",
-" @oOOOOOOOOO+@ .",
-" @oO#######O+@ .",
-" @oOOOOOOOOO+@ .",
-" @@+++++++++@@ .",
-" @@@@@@@@@@@@@ .",
-" @@@$$$$$$$$@@ .",
-" @@$%%%&*=-O$@ .",
-" @@$%X;;*=-O$@ .",
-" @@$%X;;:>,O$@ .",
-" @@$%X;;<12O$@ .",
-" @@$<<2OOOOO$@ .",
-".             .."
-};
+/* XPM */\r
+static const char *const save_xpm[] = {\r
+/* columns rows colors chars-per-pixel */\r
+"16 16 21 1",\r
+"O c #FFFFFF",\r
+"> c #D5D6D8",\r
+"; c #446A8C",\r
+"1 c #CAD2DC",\r
+": c #C0C7D1",\r
+"  c #5F666D",\r
+"% c #A5B0BA",\r
+"o c #65839D",\r
+", c #DCE2EA",\r
+"< c #C3C5C8",\r
+"- c #E1E6EE",\r
+"* c #C6CCD3",\r
+". c None",\r
+"$ c #305F81",\r
+"2 c #D6DFE7",\r
+"= c #D2D9E0",\r
+"& c #B7BFC7",\r
+"X c #1B4467",\r
+"# c #BCBDBE",\r
+"@ c #7A90AC",\r
+"+ c #5D7C93",\r
+/* pixels */\r
+"               .",\r
+" XoOOOOOOOOO+X .",\r
+" @oO#######O+@ .",\r
+" @oOOOOOOOOO+@ .",\r
+" @oO#######O+@ .",\r
+" @oOOOOOOOOO+@ .",\r
+" @@+++++++++@@ .",\r
+" @@@@@@@@@@@@@ .",\r
+" @@@$$$$$$$$@@ .",\r
+" @@$%%%&*=-O$@ .",\r
+" @@$%X;;*=-O$@ .",\r
+" @@$%X;;:>,O$@ .",\r
+" @@$%X;;<12O$@ .",\r
+" @@$<<2OOOOO$@ .",\r
+".             ..",\r
+"                "\r
+};\r