Rev 11124 | Rev 11700 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 11124 | Rev 11586 | ||
---|---|---|---|
Line 594... | Line 594... | ||
594 | q=buf+strlen(buf); |
594 | q=buf+strlen(buf); |
595 | for(p1=find_word_start(buf); (*p1) && (p1 < q) ; |
595 | for(p1=find_word_start(buf); (*p1) && (p1 < q) ; |
596 | p1=find_word_start(p2)) { |
596 | p1=find_word_start(p2)) { |
597 | p2=find_word_end(p1); |
597 | p2=find_word_end(p1); |
598 | if(p2!=NULL) *p2++=0; else p2=p1+strlen(p1); |
598 | if(p2!=NULL) *p2++=0; else p2=p1+strlen(p1); |
- | 599 | if(strncmp(p1, "Lang" , p2-p1) && |
|
599 |
|
600 | (!isalpha(*p1) || |
600 | (!isdigit(*(p1+1)) && *(p1+1)!=0) || |
601 | (!isdigit(*(p1+1)) && *(p1+1)!=0) || |
601 | (*(p1+1)!=0 && *(p1+2)!=0)) |
602 | (*(p1+1)!=0 && *(p1+2)!=0))) |
602 | continue; |
603 | continue; |
603 | *p1=tolower(*p1); |
604 | *p1=tolower(*p1); |
604 | ovlstrcpy(lbuf+strlen("level"),p1); |
605 | ovlstrcpy(lbuf+strlen("level"),p1); |
605 | appenditem(lbuf,lind,serial,2,module_language); |
606 | appenditem(lbuf,lind,serial,2,module_language); |
606 | } |
607 | } |
607 | /* append total weight of module to weight file site2/weight.xx */ |
608 | /* append total weight of module to weight file site2/weight.xx */ |