Miranda NG Official Community Forum

Forum for English speaking Miranda NG users => Development => Topic started by: hydrogen fluoride on 28 07 2022, 11:13:14

Title: Code fixes
Post by: hydrogen fluoride on 28 07 2022, 11:13:14
At ...\src\mir_app\src\netlib_openconn.cpp this:
Code: [Select]
if (rc && lasterr) SetLastError(lasterr);should be replacesd by this:
Code: [Select]
if (rc && lasterr != 0) SetLastError(lasterr);
Title: Re: Code fixes
Post by: ghazan on 28 07 2022, 14:04:40
what for?
Title: Re: Code fixes
Post by: hydrogen fluoride on 07 08 2022, 14:36:59
This fix to do if it needed.
Code: [Select]
void ICQUser::setStatus(unsigned short newStatus)
{
if (statusVal != newStatus)
{
statusVal = newStatus;
g_plugin.setWord(hContact, "Status", newStatus);
}
}
Title: Re: Code fixes
Post by: hydrogen fluoride on 10 11 2022, 17:05:36
Attached code to improve IRC channels request.

https://github.com/miranda-ng/miranda-ng/issues/3243
https://forum.miranda-ng.org/index.php?topic=6511.0