Removed an unnecessary variable declaration
This commit is contained in:
@@ -6896,12 +6896,10 @@ DEFUN(redoPos, REDO, "Cancel the last undo")
|
|||||||
|
|
||||||
DEFUN(cursorTop, CURSOR_TOP, "Move cursor to the top of the screen")
|
DEFUN(cursorTop, CURSOR_TOP, "Move cursor to the top of the screen")
|
||||||
{
|
{
|
||||||
int offsety;
|
|
||||||
if (Currentbuf->firstLine == NULL)
|
if (Currentbuf->firstLine == NULL)
|
||||||
return;
|
return;
|
||||||
Currentbuf->currentLine = lineSkip(Currentbuf,
|
Currentbuf->currentLine = lineSkip(Currentbuf, Currentbuf->topLine,
|
||||||
Currentbuf->topLine, 0,
|
0, FALSE);
|
||||||
FALSE);
|
|
||||||
arrangeLine(Currentbuf);
|
arrangeLine(Currentbuf);
|
||||||
displayBuffer(Currentbuf, B_NORMAL);
|
displayBuffer(Currentbuf, B_NORMAL);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user