pescuma / miranda-plugins

Some Miranda IM plugins
2 stars 1 forks source link

Crash in Avatar History #151

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Plugin name?
Avatar History

What steps will reproduce the problem?
1.Open Avatar History
2.Delete all pictures
3.When deleting the last one, Miranda IM will crash. It will also crash if you 
open that dialog again after a restart.

Original issue reported on code.google.com by wishmaster51 on 28 Jul 2011 at 9:59

Attachments:

GoogleCodeExporter commented 9 years ago
Okay, I fixed it:
BOOL UpdateAvatarPic(HWND hwnd)
{
...
    TCHAR *filename = GetCurrentSelFile(list);
    if(!filename) return 0; // this seems to be needed
...
}

Original comment by wishmaster51 on 30 Jul 2011 at 10:25

GoogleCodeExporter commented 9 years ago

Original comment by pescuma on 13 Aug 2011 at 4:19

GoogleCodeExporter commented 9 years ago
Update: There is also a fix for it in r. 13803 / 13804 in the miranda svn.

Original comment by wishmaster51 on 24 Aug 2011 at 10:32

GoogleCodeExporter commented 9 years ago

Original comment by wishmaster51 on 21 Mar 2012 at 12:31