diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-20 16:46:32 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-20 16:46:32 +0000 |
commit | 8ba4eebc4a8e6b95e6cec4bc0e0884303e5c3fa3 (patch) | |
tree | ec658a012b39abe4c11a970b68c0bbcd5416ad1d /menu.c | |
parent | * XMakefile (clean): rm tagtable.c (diff) | |
download | w3m-8ba4eebc4a8e6b95e6cec4bc0e0884303e5c3fa3.tar.gz w3m-8ba4eebc4a8e6b95e6cec4bc0e0884303e5c3fa3.zip |
[w3m-dev 02454] line number
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r-- | menu.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1219,7 +1219,7 @@ popupMenu(int x, int y, Menu *menu) { initSelectMenu(); - menu->cursorX = Currentbuf->cursorX; + menu->cursorX = Currentbuf->cursorX + Currentbuf->rootX; menu->cursorY = Currentbuf->cursorY; menu->x = x + FRAME_WIDTH + 1; menu->y = y + 2; @@ -1247,7 +1247,7 @@ mainMn(void) return; menu = w3mMenuList[n].menu; } - popupMenu(Currentbuf->cursorX, Currentbuf->cursorY, menu); + popupMenu(Currentbuf->cursorX + Currentbuf->rootX, Currentbuf->cursorY, menu); } /* --- MainMenu (END) --- */ @@ -1318,7 +1318,7 @@ initSelectMenu(void) new_option_menu(&SelectMenu, label, &SelectV, smChBuf); SelectMenu.initial = SelectV; - SelectMenu.cursorX = Currentbuf->cursorX; + SelectMenu.cursorX = Currentbuf->cursorX + Currentbuf->rootX; SelectMenu.cursorY = Currentbuf->cursorY; SelectMenu.keymap['D'] = smDelBuf; SelectMenu.item[nitem].type = MENU_NOP; |