summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/device.cxx4
-rw-r--r--test/preferences.fl2
2 files changed, 3 insertions, 3 deletions
diff --git a/test/device.cxx b/test/device.cxx
index bd613a238..050b159cd 100644
--- a/test/device.cxx
+++ b/test/device.cxx
@@ -608,7 +608,7 @@ void print(Fl_Widget *, void *w) {
p->end_job();
}
delete p;
-};
+}
/*void print2(Fl_Widget *, void *w) {
Fl_Widget * g = (Fl_Widget *)w;
@@ -731,4 +731,4 @@ b_bitmap.labelcolor(FL_GREEN);
Fl::run();
return 0;
-};
+}
diff --git a/test/preferences.fl b/test/preferences.fl
index 0190f6651..be093b3a8 100644
--- a/test/preferences.fl
+++ b/test/preferences.fl
@@ -323,6 +323,6 @@ Function {writePrefs()} {open return_type void
/* sample code only: */
unsigned int hex = 0x2387efcd;
eat.set( "binFoo", (void*)&hex, sizeof( unsigned int ) );
- eat.set( "binFoo2", (void*)&writePrefs, 256 );} {selected
+ eat.set( "binFoo2", (void*)&bed, 256 );} {selected
}
}