From c2cb95f8e80363eca02f7e360bec9e080f56c451 Mon Sep 17 00:00:00 2001 From: Qingping Hou Date: Tue, 1 May 2012 16:25:04 +0800 Subject: [PATCH] remove patch in cre.cpp since it is accepted by upstream --- cre.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cre.cpp b/cre.cpp index 7f5dd3e73..7caae1caa 100644 --- a/cre.cpp +++ b/cre.cpp @@ -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; }