NetworkTools: Remove unsed SelectFont
@@ -447,13 +447,13 @@ INT_PTR CALLBACK NetworkPingWndProc(
{
if (PhGetIntegerSetting(L"GraphShowText"))
{
- HDC hdc = Graph_GetBufferedContext(context->PingGraphHandle);
+ HDC hdc;
PhMoveReference(&context->PingGraphState.Text,
PhFormatString(L"%lu ms", context->CurrentPingMs)
);
- SelectFont(hdc, PhApplicationFont);
+ hdc = Graph_GetBufferedContext(context->PingGraphHandle);
PhSetGraphText(hdc, drawInfo, &context->PingGraphState.Text->sr,
&NormalGraphTextMargin, &NormalGraphTextPadding, PH_ALIGN_TOP | PH_ALIGN_LEFT);
}
