Rev 15847 | Rev 16130 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 15847 | Rev 15852 | ||
---|---|---|---|
Line 180... | Line 180... | ||
180 | char *p1; |
180 | char *p1; |
181 | 181 | ||
182 | _scoreparm(p); |
182 | _scoreparm(p); |
183 | if(*score_class==0 || *score_user==0) return; |
183 | if(*score_class==0 || *score_user==0) return; |
184 | if(getscoreuser(score_class,score_user)<0) return; |
184 | if(getscoreuser(score_class,score_user)<0) return; |
185 | /* 2^8 no_sheet + no_exo_in_the_sheet so limit no_exo to 2^8 */ |
- | |
186 | for(i=osh=0,p1=p;i<scorecnt && p1-p<MAX_LINELEN-32;i++) { |
185 | for(i=osh=0,p1=p;i<scorecnt && p1-p<MAX_LINELEN-32;i++) { |
187 | sh=rscore[i].sh+1; if(sh<1 || sh>MAX_SHEETS) break; |
186 | sh=rscore[i].sh+1; if(sh<1 || sh>MAX_SHEETS) break; |
188 | if(score_sheet!=0) { |
187 | if(score_sheet!=0) { |
189 | if(sh<score_sheet) continue; |
188 | if(sh<score_sheet) continue; |
190 | if(sh>score_sheet || sh>MAX_SHEETS) break; |
189 | if(sh>score_sheet || sh>MAX_SHEETS) break; |