mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-25 06:45:27 +02:00
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;
|
generic_string newTitle = UNTITLED_STR;
|
||||||
TCHAR nb[10];
|
TCHAR nb[10];
|
||||||
wsprintf(nb, TEXT(" %d"), 0);
|
wsprintf(nb, TEXT("%d"), 0);
|
||||||
newTitle += nb;
|
newTitle += nb;
|
||||||
|
|
||||||
if (!dontRef)
|
if (!dontRef)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user