From c68d4d52d86bbd3a5c31278491483fe01cb76842 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sun, 15 May 2016 14:06:01 +0000 Subject: [PATCH] Fix colbrowser.cxx for __APPLE__ git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11739 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- test/colbrowser.cxx | 6 +++--- 1 file 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)