← Commit list

f26eb796e

Sören Tempel
Sören Tempel
2021-12-19
SUCCESS Duration: 154s

Subject

ed: fix current line number for file passed via the command-line

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

editors/ed.c+0 -2
@@ -1016,8 +1016,6 @@ int ed_main(int argc UNUSED_PARAM, char **argv)
if (!readLines(fileName, 1)) {
return EXIT_SUCCESS;
}
- if (lastNum)
- setCurNum(1);
dirty = FALSE;
}