Fixed extra space between UNTITLED_STR and document number when creating a new document through the function FileManager::newEmptyDocument()
This commit is contained in:
parent
17e8ca3c15
commit
bc0b68b2ba
|
@ -1090,7 +1090,7 @@ BufferID FileManager::newEmptyDocument()
|
|||
{
|
||||
generic_string newTitle = UNTITLED_STR;
|
||||
TCHAR nb[10];
|
||||
wsprintf(nb, TEXT(" %d"), nextUntitledNewNumber());
|
||||
wsprintf(nb, TEXT("%d"), nextUntitledNewNumber());
|
||||
newTitle += nb;
|
||||
|
||||
Document doc = (Document)_pscratchTilla->execute(SCI_CREATEDOCUMENT); //this already sets a reference for filemanager
|
||||
|
|
Loading…
Reference in New Issue