# | Line 12 | Line 12 | static const char RCSid[] = "$Id$"; | |
---|---|---|
12 | int do_stdout = 0; /* send Radiance object to stdout? */ | |
13 | int do_instance = 0; /* produce instance/octree pairs? */ | |
14 | ||
15 | – | char *progname; /* global argv[0] */ |
16 | – | |
15 | /* Return appropriate suffix for Z offset */ | |
16 | static const char * | |
17 | get_suffix(double zval) | |
# | Line 143 | Line 141 | main(int argc, char *argv[]) | |
141 | int status = 0; | |
142 | int i; | |
143 | ||
144 | < | progname = argv[0]; |
144 | > | fixargv0(argv[0]); /* sets global progname */ |
145 | ||
146 | for (i = 1; i < argc && argv[i][0] == '-'; i++) | |
147 | switch (argv[i][1]) { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |