main: clear a spurious error number, to avoid irrelevant messages later

This addresses https://savannah.gnu.org/bugs/?53777.
This commit is contained in:
Benno Schulenberg 2018-04-29 12:01:02 +02:00
parent 6a064503e5
commit 0e46c0f4a5

View File

@ -2649,6 +2649,7 @@ int main(int argc, char **argv)
} else } else
edit_refresh(); edit_refresh();
errno = 0;
focusing = TRUE; focusing = TRUE;
/* Forget any earlier statusbar x position. */ /* Forget any earlier statusbar x position. */