summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/hello.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/hello.cxx b/test/hello.cxx
index 178d52934..a8622c122 100644
--- a/test/hello.cxx
+++ b/test/hello.cxx
@@ -28,8 +28,11 @@
#include <FL/Fl.H>
#include <FL/Fl_Window.H>
#include <FL/Fl_Box.H>
+#include <FL/filename.H>
int main(int argc, char **argv) {
+ char b[1024];
+ fl_filename_relative(b, 1024, "/Users/matt/proj/source");
Fl_Window *window = new Fl_Window(300,180);
Fl_Box *box = new Fl_Box(FL_UP_BOX,20,40,260,100,"Hello, World!");
box->labelfont(FL_BOLD+FL_ITALIC);