Date: 28/6/2004
| You know, sometimes when coding I do some really dumb things.
Dumb thing for this week:
memmove(p + Index, p + Index + 1, (len - Index - 1) & sizeof(Type) );
Should be:
memmove(p + Index, p + Index + 1, (len - Index - 1) * sizeof(Type) );
I caught this one because I was porting my Array object to D. Fortunately I don't think any of my code was actually using it yet, as it was a new method in Lgi.
|