2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00

remove patch in cre.cpp since it is accepted by upstream

This commit is contained in:
Qingping Hou 2012-05-01 16:25:04 +08:00
parent 84eb0e338f
commit c2cb95f8e8

View File

@ -308,10 +308,6 @@ static int gotoXPointer(lua_State *L) {
ldomXPointer xp = doc->dom_doc->createXPointer(lString16(xpointer_str));
doc->text_view->goToBookmark(xp);
/* CREngine does not call checkPos() immediately after goToBookmark,
* so I have to manually update the pos in order to get a correct
* return from GetPos() call. */
doc->text_view->SetPos(xp.toPoint().y);
return 0;
}