Skip to content

Commit 947fded

Browse files
committed
ClassicExplorer: Use proper theme color to display full path
Fixes #147.
1 parent e6bd16e commit 947fded

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Src/ClassicExplorer/ExplorerBHO.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -792,8 +792,8 @@ LRESULT CALLBACK CExplorerBHO::SubclassBreadcrumbProc( HWND hWnd, UINT uMsg, WPA
792792
BOOL dwm;
793793
if (theme && SUCCEEDED(DwmIsCompositionEnabled(&dwm)) && dwm)
794794
{
795-
DTTOPTS opts={sizeof(opts),DTT_COMPOSITED|DTT_TEXTCOLOR};
796-
opts.crText=GetSysColor(COLOR_WINDOWTEXT);
795+
DTTOPTS opts={sizeof(opts),DTT_COMPOSITED|DTT_COLORPROP};
796+
opts.iColorPropId = COLOR_WINDOWTEXT;
797797
DrawThemeTextEx(theme,hdcPaint,0,0,pThis->m_CurPath,-1,DT_NOPREFIX|DT_VCENTER|DT_SINGLELINE,&rc,&opts);
798798
}
799799
else

0 commit comments

Comments
 (0)