diff options
Diffstat (limited to 'plugins/NewStory/src/templates.cpp')
-rw-r--r-- | plugins/NewStory/src/templates.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/NewStory/src/templates.cpp b/plugins/NewStory/src/templates.cpp index e915e468ae..800d73b749 100644 --- a/plugins/NewStory/src/templates.cpp +++ b/plugins/NewStory/src/templates.cpp @@ -52,8 +52,8 @@ static void AppendImage(CMStringW &buf, const CMStringW &wszUrl, const CMStringW int iHeight = uMaxHeight;
if (auto *pImage = pItem->pOwner->webPage.find_image(wszUrl)) {
- if (pImage->GetHeight() < uMaxHeight)
- iHeight = pImage->GetHeight();
+ if (FreeImage_GetHeight(pImage) < uMaxHeight)
+ iHeight = FreeImage_GetHeight(pImage);
buf.AppendFormat(L"<img style=\"height: %dpx;\" src=\"%s\"/><br>", iHeight, wszUrl.c_str());
}
|