aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2020-08-31 17:00:17 +0000
committerbptato <nincsnevem662@gmail.com>2020-08-31 17:00:17 +0000
commit99aa56a75caa96147d9eda3555e659f78b673855 (patch)
treea424bfa6c09522eac476fa7ea71bdfeb365a51c7
parentAdded the other two commands to w3mhelp (diff)
downloadw3m-99aa56a75caa96147d9eda3555e659f78b673855.tar.gz
w3m-99aa56a75caa96147d9eda3555e659f78b673855.zip
Removed an unnecessary variable declaration
-rw-r--r--main.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/main.c b/main.c
index 9a2e8cc..2d08762 100644
--- a/main.c
+++ b/main.c
@@ -6896,12 +6896,10 @@ DEFUN(redoPos, REDO, "Cancel the last undo")
DEFUN(cursorTop, CURSOR_TOP, "Move cursor to the top of the screen")
{
- int offsety;
if (Currentbuf->firstLine == NULL)
return;
- Currentbuf->currentLine = lineSkip(Currentbuf,
- Currentbuf->topLine, 0,
- FALSE);
+ Currentbuf->currentLine = lineSkip(Currentbuf, Currentbuf->topLine,
+ 0, FALSE);
arrangeLine(Currentbuf);
displayBuffer(Currentbuf, B_NORMAL);
}