Skip to content

Commit

Permalink
Continue with partial code restructure.
Browse files Browse the repository at this point in the history
  • Loading branch information
zigm committed Mar 9, 2020
1 parent 0a002de commit e5888d5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/CAttachments.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ void CAttachments::OnPaint()
for (int ii = 0; ii < iCnt; ii++)
{
GetItemRect(ii, &rect, LVIR_BOUNDS);
if (rect.IsRectNull())
continue;

int w = rect.right - rect.left;

Expand Down Expand Up @@ -119,6 +121,8 @@ void CAttachments::OnPaint()
SHGFI_ICON |
SHGFI_SMALLICON))
{
if (FileUtils::PathFileExistW(mboxFilePath))
int deb = 1;
TRACE("Error Gettting SystemFileInfo!\n");
}
else
Expand Down

0 comments on commit e5888d5

Please sign in to comment.