Large bundle of OS X tweaks by Eric P. (basis of the 10.9-compatible
pre-release made in Dec. 2013): * Fix OS X 10.9 issue of current directory set by Finder to something else than folder where app bundle resides. * Some Mac OS X build / project changes & updates. * Adjustments to Mac OS X fontconfig config file, to avoid warnings and make things more robust. * Updates to some #include's to catch up with newer library revisions. * Tweaks to pixel read/write on Apple. * Introduction of 'intprt_t' casting to avoid warnings on x64. * Some additional debugging output. * Logging stderr & stdout to /tmp/tuxpaint.log Untested (I don't have a Mac!)
This commit is contained in:
parent
e5b2182c0a
commit
e990b48de7
14 changed files with 982 additions and 817 deletions
|
|
@ -13,6 +13,7 @@
|
|||
#include <ctype.h>
|
||||
#include <stdint.h>
|
||||
#include "../src/parse.h"
|
||||
#include "debug.h"
|
||||
|
||||
const char PARSE_YES[] = "yes";
|
||||
const char PARSE_NO[] = "no";
|
||||
|
|
@ -188,8 +189,10 @@ void parse_one_option(struct cfginfo *restrict tmpcfg, const char *str, const ch
|
|||
unsigned offset;
|
||||
char *dupecheck;
|
||||
const struct cfg *cfg;
|
||||
|
||||
//printf("parsing: <%s> <%s>\n",str,arg);
|
||||
|
||||
#ifdef DEBUG
|
||||
printf("parsing %s: <%s> <%s>\n", src, str, opt);
|
||||
#endif
|
||||
|
||||
if(isdigit(*str))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue