Skip to content
Snippets Groups Projects
Commit eba133d8 authored by rswindell's avatar rswindell
Browse files

Fix apparent bug in use of readtext().

parent 71640c40
No related branches found
No related tags found
No related merge requests found
......@@ -1104,7 +1104,7 @@ int sbbs_t::exec(csi_t *csi)
errormsg(WHERE,ERR_OPEN,str,O_RDONLY);
break; }
for(i=0;i<TOTAL_TEXT && !feof(stream);i++) {
if((text[i]=readtext((long *)NULL,stream,l))==NULL) {
if((text[i]=readtext((long *)NULL,stream,i))==NULL) {
i--;
continue; }
if(!strcmp(text[i],text_sav[i])) { /* If identical */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment