summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/demo.cxx1
-rw-r--r--test/device.cxx4
2 files changed, 3 insertions, 2 deletions
diff --git a/test/demo.cxx b/test/demo.cxx
index 4df676a5f..221f47eb8 100644
--- a/test/demo.cxx
+++ b/test/demo.cxx
@@ -92,6 +92,7 @@ const char *default_menu[] = {
"@e:Block\\nAttack!:blocks\n",
"@e:Checkers:checkers\n",
"@e:Sudoku:sudoku\n",
+ "@e:Print\nsupport:device\n",
"\n",
"@main:Other\\nTests:@o\n",
"@o:Color Choosers:color_chooser\n",
diff --git a/test/device.cxx b/test/device.cxx
index 0be6378c0..4a6cf7171 100644
--- a/test/device.cxx
+++ b/test/device.cxx
@@ -172,7 +172,7 @@ protected:
fl_xyline(x()+5,y()+61,x()+48);
fl_line_style(FL_DASHDOTDOT);
fl_xyline(x()+5,y()+64,x()+48);
- fl_line_style(0,0,"\7\3\7\2");
+ fl_line_style(0,0,(char*)"\7\3\7\2");
fl_xyline(x()+5,y()+67,x()+48);
@@ -460,7 +460,7 @@ protected:
fl_color(FL_BLUE);
- fl_line_style(0, 5, "\12\3\4\2\2\1");
+ fl_line_style(0, 5, (char*)"\12\3\4\2\2\1");
fl_begin_line();
fl_vertex(10, 10);
fl_vertex(190, 10);