Display correct mode on first empty buffer.

This commit is contained in:
Renaud 2015-01-27 20:22:47 +08:00
parent bc90c36603
commit 639d912c88
1 changed files with 3 additions and 1 deletions

4
main.c
View File

@ -315,8 +315,10 @@ int main(int argc, char **argv)
if (firstfile == FALSE && readfirst_f()) {
swbuffer(firstbp);
zotbuf(bp);
} else
} else {
bp->b_mode |= gmode;
upmode() ;
}
/* Deal with startup gotos and searches */
if( gotoflag && searchflag)