]> git.saurik.com Git - wxWidgets.git/commitdiff
use const char * buffer to fix CW compilation (patch 1117210)
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 19 Feb 2005 15:20:13 +0000 (15:20 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 19 Feb 2005 15:20:13 +0000 (15:20 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/sample.xpm

index 0d27c8b6dba6d3dc4478b36428f658a614d971bf..235c683c5126312ca111ae5c3eab939098b0f2e0 100644 (file)
@@ -1,44 +1,44 @@
-/* XPM */
-static char *sample_xpm[] = {
-/* columns rows colors chars-per-pixel */
-"32 32 6 1",
-"  c black",
-". c navy",
-"X c red",
-"o c yellow",
-"O c gray100",
-"+ c None",
-/* pixels */
-"++++++++++++++++++++++++++++++++",
-"++++++++++++++++++++++++++++++++",
-"++++++++++++++++++++++++++++++++",
-"++++++++++++++++++++++++++++++++",
-"++++++++++++++++++++++++++++++++",
-"++++++++              ++++++++++",
-"++++++++ ............ ++++++++++",
-"++++++++ ............ ++++++++++",
-"++++++++ .OO......... ++++++++++",
-"++++++++ .OO......... ++++++++++",
-"++++++++ .OO......... ++++++++++",
-"++++++++ .OO......              ",
-"++++++++ .OO...... oooooooooooo ",
-"         .OO...... oooooooooooo ",
-" XXXXXXX .OO...... oOOooooooooo ",
-" XXXXXXX .OO...... oOOooooooooo ",
-" XOOXXXX ......... oOOooooooooo ",
-" XOOXXXX ......... oOOooooooooo ",
-" XOOXXXX           oOOooooooooo ",
-" XOOXXXXXXXXX ++++ oOOooooooooo ",
-" XOOXXXXXXXXX ++++ oOOooooooooo ",
-" XOOXXXXXXXXX ++++ oOOooooooooo ",
-" XOOXXXXXXXXX ++++ oooooooooooo ",
-" XOOXXXXXXXXX ++++ oooooooooooo ",
-" XXXXXXXXXXXX ++++              ",
-" XXXXXXXXXXXX ++++++++++++++++++",
-"              ++++++++++++++++++",
-"++++++++++++++++++++++++++++++++",
-"++++++++++++++++++++++++++++++++",
-"++++++++++++++++++++++++++++++++",
-"++++++++++++++++++++++++++++++++",
-"++++++++++++++++++++++++++++++++"
-};
+/* XPM */\r
+static const char *sample_xpm[] = {\r
+/* columns rows colors chars-per-pixel */\r
+"32 32 6 1",\r
+"  c black",\r
+". c navy",\r
+"X c red",\r
+"o c yellow",\r
+"O c gray100",\r
+"+ c None",\r
+/* pixels */\r
+"++++++++++++++++++++++++++++++++",\r
+"++++++++++++++++++++++++++++++++",\r
+"++++++++++++++++++++++++++++++++",\r
+"++++++++++++++++++++++++++++++++",\r
+"++++++++++++++++++++++++++++++++",\r
+"++++++++              ++++++++++",\r
+"++++++++ ............ ++++++++++",\r
+"++++++++ ............ ++++++++++",\r
+"++++++++ .OO......... ++++++++++",\r
+"++++++++ .OO......... ++++++++++",\r
+"++++++++ .OO......... ++++++++++",\r
+"++++++++ .OO......              ",\r
+"++++++++ .OO...... oooooooooooo ",\r
+"         .OO...... oooooooooooo ",\r
+" XXXXXXX .OO...... oOOooooooooo ",\r
+" XXXXXXX .OO...... oOOooooooooo ",\r
+" XOOXXXX ......... oOOooooooooo ",\r
+" XOOXXXX ......... oOOooooooooo ",\r
+" XOOXXXX           oOOooooooooo ",\r
+" XOOXXXXXXXXX ++++ oOOooooooooo ",\r
+" XOOXXXXXXXXX ++++ oOOooooooooo ",\r
+" XOOXXXXXXXXX ++++ oOOooooooooo ",\r
+" XOOXXXXXXXXX ++++ oooooooooooo ",\r
+" XOOXXXXXXXXX ++++ oooooooooooo ",\r
+" XXXXXXXXXXXX ++++              ",\r
+" XXXXXXXXXXXX ++++++++++++++++++",\r
+"              ++++++++++++++++++",\r
+"++++++++++++++++++++++++++++++++",\r
+"++++++++++++++++++++++++++++++++",\r
+"++++++++++++++++++++++++++++++++",\r
+"++++++++++++++++++++++++++++++++",\r
+"++++++++++++++++++++++++++++++++"\r
+};\r