fix two bugs in the indexing code found by Georg Lehner
silence if statement indentation warnings (gcc has become more picky)
This commit is contained in:
3
t2.c
3
t2.c
@@ -46,7 +46,8 @@ mergesub:
|
||||
int first=1;
|
||||
printf("%.*s has ",(int)f->ava.desc.l,f->ava.desc.s);
|
||||
while (s) {
|
||||
if (!first) printf(" and "); first=0;
|
||||
if (!first) printf(" and ");
|
||||
first=0;
|
||||
switch(s->substrtype) {
|
||||
case prefix: printf("prefix \""); break;
|
||||
case any: printf("substr \""); break;
|
||||
|
||||
Reference in New Issue
Block a user