diff options
| author | Manolo Gouy <Manolo> | 2016-05-15 14:06:01 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-05-15 14:06:01 +0000 |
| commit | c68d4d52d86bbd3a5c31278491483fe01cb76842 (patch) | |
| tree | f11125d3fb3281162178df13c9f92fdc1930cdbe /test | |
| parent | e3d96c1bcf6cecd78a510f8e78bc7e13c6b63514 (diff) | |
Fix colbrowser.cxx for __APPLE__
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11739 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
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) |
