patch-1.3.70 linux/scripts/tkgen.c

Next file: linux/CREDITS
Previous file: linux/scripts/lxdialog/checklist.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.69/linux/scripts/tkgen.c linux/scripts/tkgen.c
@@ -922,10 +922,10 @@
 	    {
 	      if(cfg->tok == tok_dep_tristate)
 		{
-		  printf("\tif {$%s == 2 } then {\n"
+		  printf("\tif {$%s == 0 } then {\n"
 		  	 "\t\twrite_variable $cfg $autocfg %s $notset $notmod\n"
 		  	 "\t} else {\n"
-		  	 "\t\twrite_variable $cfg $autocfg %s $%s %s\n"
+		  	 "\t\twrite_variable $cfg $autocfg %s $%s $%s\n"
 		  	 "\t}\n",
 		  	 cfg->depend.str,
 			 cfg->optionname,


FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this