diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/colbrowser.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/colbrowser.cxx b/test/colbrowser.cxx index 0865870d8..318f73546 100644 --- a/test/colbrowser.cxx +++ b/test/colbrowser.cxx @@ -3,7 +3,7 @@ // // X Color Browser demo program for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2010 by Bill Spitzak and others. +// Copyright 1998-2016 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this @@ -62,8 +62,8 @@ int main(int argc, char *argv[]) create_form_cl(); -#ifdef USING_XCODE - // Xcode apps do not set the current directory +#ifdef __APPLE__ + // Bundled apps do not set the current directory strcpy(dbname, argv[0]); char *slash = strrchr(dbname, '/'); if (slash) |
