Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion window-icon-updater/icon-sender
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ class IconRetriever(object):
# split the array into icons
while index < len(icon_data):
size = (icon_data[index], icon_data[index + 1])
if size[0] < ICON_MAX_SIZE and size[1] < ICON_MAX_SIZE:
if size[0] <= ICON_MAX_SIZE and size[1] <= ICON_MAX_SIZE:
icons[size] = icon_data[index + 2:
index + 2 + (size[0] * size[1])]
index += 2 + (size[0] * size[1])
Expand Down