@ -1838,8 +1838,7 @@ function PaintWeb (win, doc) {
layerContext.putImageData(himg, 0, 0, 0, 0, w, h);
history.pos = pos;
this.events.dispatch(new appEvent.historyUpdate(pos, cpos,
this.events.dispatch(new appEvent.historyUpdate(pos, cpos, history.states.length));
history.states.length));
return true;
};