someone inserted a bug in here. someone ADDED a ; to an important if
statement :( SVN revision: 2304
This commit is contained in:
parent
cd71456f24
commit
c5487db9cd
7
viewer.c
7
viewer.c
|
@ -650,14 +650,15 @@ create_list_window(void)
|
||||||
sscanf(buf, "%*s %*s %i", &j);
|
sscanf(buf, "%*s %*s %i", &j);
|
||||||
strcpy(stuff[2],"");
|
strcpy(stuff[2],"");
|
||||||
/*sprintf(stuff[2],"%s",actions[j].text); */
|
/*sprintf(stuff[2],"%s",actions[j].text); */
|
||||||
if (atword(buf, 4))
|
if (atword(buf, 4)) {
|
||||||
sprintf(stuff[3],"%s",atword(buf, 4));
|
sprintf(stuff[3],"%s",atword(buf, 4));
|
||||||
else
|
} else {
|
||||||
strcpy(stuff[3],"");
|
strcpy(stuff[3],"");
|
||||||
|
}
|
||||||
for (k = 0; (actions[k].text); k++) {
|
for (k = 0; (actions[k].text); k++) {
|
||||||
if (j == actions[k].id) {
|
if (j == actions[k].id) {
|
||||||
if (strcmp(stuff[3],"")) {
|
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]);
|
sscanf(stuff[3],"%*s %s",stuff[3]);
|
||||||
if ((actions[k].param_tpe == 0)&&(actions[k].params)) {
|
if ((actions[k].param_tpe == 0)&&(actions[k].params)) {
|
||||||
if (!strcmp(stuff[3], actions[k].params)) {
|
if (!strcmp(stuff[3], actions[k].params)) {
|
||||||
|
|
Loading…
Reference in New Issue