diff --git a/src/nano.c b/src/nano.c index 09aacfbb..1ed2e960 100644 --- a/src/nano.c +++ b/src/nano.c @@ -2649,6 +2649,7 @@ int main(int argc, char **argv) } else edit_refresh(); + errno = 0; focusing = TRUE; /* Forget any earlier statusbar x position. */