Fix symbol '&' not showing in Document Switcher

Disable prefix processing in document switcher.

Fix #15117, close #15118
pull/15129/head
ozone10 2024-05-10 16:48:18 +00:00 committed by Don Ho
parent 971aaf680a
commit 9d6e6d2e04
1 changed files with 1 additions and 1 deletions

View File

@ -235,5 +235,5 @@ void TaskListDlg::drawItem(LPDRAWITEMSTRUCT lpDrawItemStruct)
// DRAW TEXT // DRAW TEXT
// //
::SetTextColor(hDC, textColor); ::SetTextColor(hDC, textColor);
::DrawText(hDC, label, lstrlen(label), &rect, DT_SINGLELINE | DT_VCENTER | DT_LEFT); ::DrawText(hDC, label, lstrlen(label), &rect, DT_SINGLELINE | DT_VCENTER | DT_NOPREFIX);
} }