Skip to content

Commit 9266cd0

Browse files
committed
Greater Than or Equal 256px
1 parent 22add14 commit 9266cd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SarThumbnailHandler/ThumbnailProvider.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ IFACEMETHODIMP ThumbnailProvider::GetThumbnail(UINT thumb_size, HBITMAP* phbmp,
9494
int newW = sar->width() * thumb_size / maxDim;
9595
int newH = sar->height() * thumb_size / maxDim;
9696

97-
bool isThumbHighRes = thumb_size > 256;
97+
bool isThumbHighRes = thumb_size >= 256;
9898

9999
BITMAPINFO bmi = {};
100100
bmi.bmiHeader.biSize = sizeof(bmi.bmiHeader);

0 commit comments

Comments
 (0)