someone inserted a bug in here. someone ADDED a ; to an important if

statement :(


SVN revision: 2304
This commit is contained in:
Mandrake 2000-03-23 01:13:21 +00:00
parent cd71456f24
commit c5487db9cd
1 changed files with 4 additions and 3 deletions

View File

@ -650,14 +650,15 @@ create_list_window(void)
sscanf(buf, "%*s %*s %i", &j);
strcpy(stuff[2],"");
/*sprintf(stuff[2],"%s",actions[j].text); */
if (atword(buf, 4))
if (atword(buf, 4)) {
sprintf(stuff[3],"%s",atword(buf, 4));
else
} else {
strcpy(stuff[3],"");
}
for (k = 0; (actions[k].text); k++) {
if (j == actions[k].id) {
if (strcmp(stuff[3],"")) {
if ((j==9) && (!strncmp(stuff[3],"named",5)));
if ((j==9) && (!strncmp(stuff[3],"named",5)))
sscanf(stuff[3],"%*s %s",stuff[3]);
if ((actions[k].param_tpe == 0)&&(actions[k].params)) {
if (!strcmp(stuff[3], actions[k].params)) {