Decrease false positives on untitled window detection
commit8deb14af1cad1f928747f0b68a6139f584910552
authorBjorn Winckler <bjorn.winckler@gmail.com>
Thu, 31 Jan 2008 15:24:45 +0000 (31 16:24 +0100)
committerBjorn Winckler <bjorn.winckler@gmail.com>
Thu, 31 Jan 2008 15:24:45 +0000 (31 16:24 +0100)
tree5ce06eabeba07e011a8a3f94db07d73cf78f38ec
parent60849ecdba766f6c69cb72e78f2eef5df23c6ccd
Decrease false positives on untitled window detection

The detection algorithm is still dumb; it now thinks a window is
untitled (i.e. good for opening new files in) when its title begins with
"[No Name] - VIM".  This means that it now rejects modified buffers
which haven't been saved to a file.
src/MacVim/MMAppController.m