Revision: 9934 http://pure-data.svn.sourceforge.net/pure-data/?rev=9934&view=rev Author: eighthave Date: 2008-05-28 04:43:51 -0700 (Wed, 28 May 2008)
Log Message: ----------- fixed path to image needed to show color background
Modified Paths: -------------- branches/pd-extended/v0-40/externals/pidip/modules/pdp_colorgrid.c
Modified: branches/pd-extended/v0-40/externals/pidip/modules/pdp_colorgrid.c =================================================================== --- branches/pd-extended/v0-40/externals/pidip/modules/pdp_colorgrid.c 2008-05-28 11:41:05 UTC (rev 9933) +++ branches/pd-extended/v0-40/externals/pidip/modules/pdp_colorgrid.c 2008-05-28 11:43:51 UTC (rev 9934) @@ -18,13 +18,18 @@ #include "t_tk.h" #include "g_colorgrid.h"
-#ifdef NT +#ifdef _WIN32 #include <io.h> #else #include <unistd.h> #endif
-#define COLORGRID_IMG PWD"/patches/images/colorgrid.pnm" +#ifdef __APPLE__ +# define COLORGRID_IMG "/Applications/Pd-extended.app/Contents/Resources/doc/examples/pidip/images/colorgrid.pnm" +#endif +#ifdef __gnu_linux__ +# define COLORGRID_IMG "/usr/lib/pd/doc/examples/pidip/images/colorgrid.pnm" +#endif #define DEFAULT_COLORGRID_WIDTH 256 #define DEFAULT_COLORGRID_HEIGHT 50 #define DEFAULT_COLORGRID_NBLINES 10
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.