diff --git a/Library/Meter.cpp b/Library/Meter.cpp index 6e50a13e..777d79e5 100644 --- a/Library/Meter.cpp +++ b/Library/Meter.cpp @@ -640,7 +640,9 @@ void Meter::UpdateToolTip() } else { - hIcon = (HICON)LoadImage(nullptr, tipIcon, IMAGE_ICON, 0, 0, LR_LOADFROMFILE); + std::wstring iconPath = m_ToolTipIcon; + m_MeterWindow->MakePathAbsolute(iconPath); + hIcon = (HICON)LoadImage(nullptr, iconPath.c_str(), IMAGE_ICON, 0, 0, LR_LOADFROMFILE); destroy = true; } }