ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/macbethcal.c
(Generate patch)

Comparing ray/src/px/macbethcal.c (file contents):
Revision 2.20 by schorsch, Sun Jul 27 22:12:03 2003 UTC vs.
Revision 2.22 by schorsch, Mon Nov 10 12:28:56 2003 UTC

# Line 15 | Line 15 | static const char      RCSid[] = "$Id$";
15   #include <time.h>
16  
17   #include "platform.h"
18 + #include "rtprocess.h"
19   #include "color.h"
20   #include "resolu.h"
21   #include "pmap.h"
# Line 98 | Line 99 | short  mbneu[NMBNEU] = {Black,Neutral35,Neutral5,Neutra
99   #define  RG_CORR        04      /* corrected color region */
100  
101   #ifndef  DISPCOM
102 < #define  DISPCOM        "ximage -op %s"
102 > #define  DISPCOM        "ximage -op \"%s\""
103   #endif
104  
105   int     scanning = 1;           /* scanned input (or recorded output)? */
# Line 798 | Line 799 | FILE   *fp;
799   pickchartpos(pfn)               /* display picture and pick chart location */
800   char    *pfn;
801   {
802 <        char    combuf[512];
802 >        char    combuf[PATH_MAX];
803          FILE    *pfp;
804  
805          sprintf(combuf, DISPCOM, pfn);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines