Skip to content

Commit

Permalink
Fixed crashing bug transforming cursors
Browse files Browse the repository at this point in the history
  • Loading branch information
josephg committed Jan 3, 2013
1 parent 2470590 commit e2b1d2c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/db.c
Original file line number Diff line number Diff line change
Expand Up @@ -239,5 +239,6 @@ void db_transform_cursor(ot_document *doc, ot_cursor *cursor, uint32_t version)
ot_op *op = (ot_op *)(doc->op_cache + doc->type->op_size * version);
// This method gets called when a user moves their cursor around.
doc->type->transform_cursor(cursor, op, false);
version++;
}
}

0 comments on commit e2b1d2c

Please sign in to comment.