patch-1.3.75 linux/scripts/tkcond.c
Next file: linux/scripts/tkgen.c
Previous file: linux/scripts/header.tk
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sat Mar 16 13:52:12 1996
- Orig file:
v1.3.74/linux/scripts/tkcond.c
- Orig date:
Wed Mar 13 10:09:28 1996
diff -u --recursive --new-file v1.3.74/linux/scripts/tkcond.c linux/scripts/tkcond.c
@@ -123,7 +123,7 @@
* be one operator inbetween.
*/
cond2 = cond->next->next;
- sprintf(tmpbuf, "%d", cond->variable.cfg->choice_value);
+ strcpy(tmpbuf, cond->variable.cfg->label);
if( strcmp(cond2->variable.str, "y") == 0 )
{
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