"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/screenpart.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.

screenpart.cpp  (bed-3.0.3.src.tar.xz):screenpart.cpp  (bed-3.1.0.src.tar.xz)
skipping to change at line 574 skipping to change at line 574
} }
*/ */
int ScreenPart::bin2search(unsigned char *bin, char *formal, int len) { int ScreenPart::bin2search(unsigned char *bin, char *formal, int len) {
int ap=maxres+apart; int ap=maxres+apart;
int f=0, err=0; int f=0, err=0;
for(int b=0;b<=(len-bytes);f+=(ap),b+=bytes) { for(int b=0;b<=(len-bytes);f+=(ap),b+=bytes) {
if(bin2f(bin+b, formal+f, bytes)<0) if(bin2f(bin+b, formal+f, bytes)<0)
err=-1; err=-1;
for(int i=f+maxres;i<(f+ap);i++) for(int i=f+maxres;i<(f+ap);i++)
formal[i]=' '; formal[i]=' ';
// formal[i]='\t';
} }
/* if(err<0) /* if(err<0)
return err; return err;
*/ */
return f; return f;
} }
ScreenPart *ScreenPart::getchild(int &forstart,int &binstart,int pos) { ScreenPart *ScreenPart::getchild(int &forstart,int &binstart,int pos) {
return NULL; return NULL;
} }
 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)