diff --git a/contrib/win32/win32compat/shell-host.c b/contrib/win32/win32compat/shell-host.c index 689a5b92c..5d5b0acd9 100644 --- a/contrib/win32/win32compat/shell-host.c +++ b/contrib/win32/win32compat/shell-host.c @@ -690,7 +690,7 @@ SendCharacter(HANDLE hInput, WORD attributes, wchar_t character) StringCbPrintfExA(Next, SizeLeft, &Next, &SizeLeft, 0, ";%u", Color); - StringCbPrintfExA(Next, SizeLeft, &Next, &SizeLeft, 0, ";%c", 'm'); + StringCbPrintfExA(Next, SizeLeft, &Next, &SizeLeft, 0, "%c", 'm'); if (bUseAnsiEmulation && attributes != pattributes) WriteFile(hInput, formatted_output, (DWORD)(Next - formatted_output), &wr, NULL);