Skip to content

Commit 4ca89ea

Browse files
committed
Enclose Selection - add links with quotation marks #280
1 parent 1e1406b commit 4ca89ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Edit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6617,7 +6617,7 @@ INT_PTR CALLBACK EditEncloseSelectionDlgProc(HWND hwnd, UINT umsg, WPARAM wParam
66176617
// [2e]: Enclose Selection - add links with quotation marks #280
66186618
LOGFONT lf = { 0 };
66196619

6620-
if (NULL == (hFontNormal = (HFONT)SendDlgItemMessage(hwnd, 200, WM_GETFONT, 0, 0)))
6620+
if (hFontNormal == NULL)
66216621
hFontNormal = GetStockObject(DEFAULT_GUI_FONT);
66226622
GetObject(hFontNormal, sizeof(LOGFONT), &lf);
66236623
lf.lfUnderline = TRUE;

0 commit comments

Comments
 (0)