From 531028ed27bae3469b686036ae4e0cb4c49f7d46 Mon Sep 17 00:00:00 2001 From: wmayer Date: Sun, 20 Feb 2022 11:11:34 +0100 Subject: [PATCH] Tools: [skip ci] Adjust comment about the creation of a bitmap handle --- src/Tools/thumbs/ThumbnailProvider/ThumbnailProvider.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tools/thumbs/ThumbnailProvider/ThumbnailProvider.cpp b/src/Tools/thumbs/ThumbnailProvider/ThumbnailProvider.cpp index 162263e467..4a0fda8f89 100644 --- a/src/Tools/thumbs/ThumbnailProvider/ThumbnailProvider.cpp +++ b/src/Tools/thumbs/ThumbnailProvider/ThumbnailProvider.cpp @@ -259,7 +259,7 @@ STDMETHODIMP CThumbnailProvider::GetThumbnail(UINT cx, content.push_back(c); } - // pass the memory buffer to CxImage library to create the bitmap handle + // pass the memory buffer to an IStream to create the bitmap handle IStream* stream = CreateStreamOnResource(&(content[0]), content.size()); if (stream) { IWICBitmapSource* bmpSrc = LoadBitmapFromStream(stream);