Fix for InetC progressbar bug
The current release of InetC has a small bug which can cause the download progressbar to disappear. This was originally thought to be a redraw issue, but it was due to other plugins that would alter the nsis progressbar (eg RealProgress).
I've been aware of this bug for about a year, it was also mentioned in a few other threads like http://forums.winamp.com/showthread....hreadid=274214
To fix the issue, simply replace the if block on line 875 of inet.cpp with the following code:
I wont update the wiki page or upload a new binary, but hopefully Takhir will implement this update shortly.LONG prbStyle= WS_VISIBLE | WS_CHILD | WS_CLIPSIBLINGS | WS_CLIPCHILDREN;
hPrbOld != NULL/* && GetClassName(hPrbOld, s, sizeof(s)) > 0 && lstrcmpi(s, "msctl_progress32") == 0*/)
if(
{
LONG oldStyle = GetWindowLong(hPrbOld, GWL_STYLE);
oldStyle |= prbStyle;
SetWindowLong(hPrbNew, GWL_STYLE, oldStyle);
}
else
{
SetWindowLong(hPrbNew, GWL_STYLE, prbStyle);
}
:D