Menu

#5 word$NUMBER$ fix

open
nobody
None
5
2008-04-11
2008-04-11
Diego Celso
No

Hello to all, I have fixed some bgl conversions that produces words with numbers. The solution is not very good because I do not know the usefulness of the numbers and I only ignore them.

In babylon.cpp I have remplaced the line:
//
for(uint a=0;a<len;a++) headword += block.data[pos++];
//

for this other lines.

//
for(uint a=0;a<len;a++){
if ((headword.size()>0) && (headword.c_str()[0]!='$') && (block.data[pos]=='$')){
pos+=len-a;
break;
}
headword += block.data[pos++];
}
//

Discussion


Log in to post a comment.

MongoDB Logo MongoDB