[GEM-cvs] Gem/src/Pixes pix_freeframe.cpp,1.11,1.12
Brought to you by:
zmoelnig
From: Jamie T. <ti...@us...> - 2006-02-15 23:06:04
|
Update of /cvsroot/pd-gem/Gem/src/Pixes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18339 Modified Files: pix_freeframe.cpp Log Message: [osx] one last hack to make it work like the other platforms Index: pix_freeframe.cpp =================================================================== RCS file: /cvsroot/pd-gem/Gem/src/Pixes/pix_freeframe.cpp,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** pix_freeframe.cpp 15 Feb 2006 20:54:15 -0000 1.11 --- pix_freeframe.cpp 15 Feb 2006 23:05:54 -0000 1.12 *************** *** 108,112 **** --- 108,116 ---- if ((fd=open_via_path(canvas_getdir(getCanvas())->s_name, pluginname, extension, buf2, &bufptr, MAXPDSTRING, 1))>=0){ close(fd); + #ifndef __APPLE__ sprintf(buf, "%s/%s", buf2, bufptr); + #else + sprintf(buf, "%s", buf2); + #endif } else canvas_makefilename(getCanvas(), pluginname, buf, MAXPDSTRING); |