"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/hassub.cpp" between
bed-3.0.3.src.tar.xz and bed-3.1.0.src.tar.xz

About: bed is an adjustable data format binary editor.

hassub.cpp  (bed-3.0.3.src.tar.xz):hassub.cpp  (bed-3.1.0.src.tar.xz)
skipping to change at line 96 skipping to change at line 96
ScreenPart *sub=subpart(i); ScreenPart *sub=subpart(i);
if(bin2form(sub,binstart+bin,forstart+( char *)formal,(in t)sub->bytes)<0) if(bin2form(sub,binstart+bin,forstart+( char *)formal,(in t)sub->bytes)<0)
return -1; return -1;
if(i>=last) if(i>=last)
break; break;
forstart+=sub->maxres; forstart+=sub->maxres;
binstart+=sub->bytes; binstart+=sub->bytes;
int spaafter=spacebetween(sub); int spaafter=spacebetween(sub);
for(int j=0;forstart<maxres&&j<spaafter;j++) for(int j=0;forstart<maxres&&j<spaafter;j++)
formal[forstart++]=' '; formal[forstart++]=' ';
// formal[forstart++]='\t';
} }
return 0; return 0;
} }
int HasSub::isel(const int ch) const { int HasSub::isel(const int ch) const {
for(int i=0;i<nrsubparts;i++) for(int i=0;i<nrsubparts;i++)
if(subpart(i)->isel(ch)) if(subpart(i)->isel(ch))
return 1; return 1;
return 0; return 0;
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)