Fix colbrowser.cxx for __APPLE__

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11739 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy 2016-05-15 14:06:01 +00:00
parent e3d96c1bcf
commit c68d4d52d8
1 changed files with 3 additions and 3 deletions

View File

@ -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)