Fixed extra space between UNTITLED_STR and document number "0" when creating a new buffer on start up through the function FileManager::bufferFromDocument().
This commit is contained in:
parent
8c18baf06b
commit
11a51aa05e
@ -1106,7 +1106,7 @@ BufferID FileManager::bufferFromDocument(Document doc, bool dontIncrease, bool d
|
||||
{
|
||||
generic_string newTitle = UNTITLED_STR;
|
||||
TCHAR nb[10];
|
||||
wsprintf(nb, TEXT(" %d"), 0);
|
||||
wsprintf(nb, TEXT("%d"), 0);
|
||||
newTitle += nb;
|
||||
|
||||
if (!dontRef)
|
||||
|
Loading…
Reference in New Issue
Block a user