summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Karl Ramm <kcr@1ts.org>2009-04-18 04:23:58 +0000
committerGravatar Karl Ramm <kcr@1ts.org>2009-04-18 04:23:58 +0000
commit9aebce0a0c1ff081f0cd1c48963682d09555d200 (patch)
treec8734d2ed92ed316a14675ad78fdf4988431c4d9
parentbac780f7381385863454d3001a58ef37484366ff (diff)
slight cleanup, and zwgcplus mode is on by default
-rw-r--r--zwgc/main.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/zwgc/main.c b/zwgc/main.c
index 2ad8736..15ab264 100644
--- a/zwgc/main.c
+++ b/zwgc/main.c
@@ -48,7 +48,7 @@ static const char rcsid_main_c[] = "$Id$";
#endif
#ifdef CMU_ZWGCPLUS
#include "plus.h"
-int zwgcplus = 0;
+int zwgcplus = 1;
#endif
void notice_handler(ZNotice_t *);
@@ -244,8 +244,7 @@ run_initprogs(void)
*/
int
-main(int argc,
- char **argv)
+main(int argc, char **argv)
{
char **new;
register char **current;
@@ -333,11 +332,6 @@ main(int argc,
dprintf("Test Zwgc parser.\n\n");
read_in_description_file();
-#ifdef CMU_ZWGCPLUS
- if (strcmp(progname, "zwgcplus") == 0)
- zwgcplus = 1;
-#endif
-
dprintf("Entering main loop\n");
mux_loop();