[PD-cvs] pd/src t_tkcmd.c,1.2.4.1.2.9,1.2.4.1.2.10

Thomas Grill xovo at users.sourceforge.net
Wed Jun 14 03:03:04 CEST 2006


Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21165/src

Modified Files:
      Tag: devel_0_39
	t_tkcmd.c 
Log Message:
fixed GUI loading on MacOS

Index: t_tkcmd.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/t_tkcmd.c,v
retrieving revision 1.2.4.1.2.9
retrieving revision 1.2.4.1.2.10
diff -C2 -d -r1.2.4.1.2.9 -r1.2.4.1.2.10
*** t_tkcmd.c	30 Nov 2005 13:36:58 -0000	1.2.4.1.2.9
--- t_tkcmd.c	14 Jun 2006 01:03:02 -0000	1.2.4.1.2.10
***************
*** 622,629 ****
          argument.  If so. we're to connect to a previously running pd (i.e.,
          pd got started first).  If not, we start Pd from here. */
! #ifdef MSW
      if (argv && (portno = atoi(argv)) > 1)
  #else
      char *firstspace;
      if (argv && (firstspace = strchr(argv, ' ')) && (portno = atoi(firstspace)) > 1)
  #endif
--- 622,630 ----
          argument.  If so. we're to connect to a previously running pd (i.e.,
          pd got started first).  If not, we start Pd from here. */
! #if defined(MSW) || defined(__APPLE__)
      if (argv && (portno = atoi(argv)) > 1)
  #else
      char *firstspace;
+ 
      if (argv && (firstspace = strchr(argv, ' ')) && (portno = atoi(firstspace)) > 1)
  #endif





More information about the Pd-cvs mailing list