mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-28 05:11:34 +00:00
ok
(cherry picked from commit 0b9c20cc7086000548e02b39c1abf94ffb56feae)
This commit is contained in:
parent
e8a2397dea
commit
bd3ea52cba
1 changed files with 6 additions and 6 deletions
12
src/m_menu.c
12
src/m_menu.c
|
@ -8609,19 +8609,19 @@ static void
|
||||||
Check_new_version_thread (int *id)
|
Check_new_version_thread (int *id)
|
||||||
{
|
{
|
||||||
int hosting;
|
int hosting;
|
||||||
int ok;
|
int okay;
|
||||||
|
|
||||||
ok = 0;
|
okay = 0;
|
||||||
|
|
||||||
if (M_CheckMODVersion(*id))
|
if (M_CheckMODVersion(*id))
|
||||||
{
|
{
|
||||||
I_lock_mutex(&ms_QueryId_mutex);
|
I_lock_mutex(&ms_QueryId_mutex);
|
||||||
{
|
{
|
||||||
ok = ( *id == ms_QueryId );
|
okay = ( *id == ms_QueryId );
|
||||||
}
|
}
|
||||||
I_unlock_mutex(ms_QueryId_mutex);
|
I_unlock_mutex(ms_QueryId_mutex);
|
||||||
|
|
||||||
if (ok)
|
if (okay)
|
||||||
{
|
{
|
||||||
I_lock_mutex(&m_menu_mutex);
|
I_lock_mutex(&m_menu_mutex);
|
||||||
{
|
{
|
||||||
|
@ -8637,12 +8637,12 @@ Check_new_version_thread (int *id)
|
||||||
{
|
{
|
||||||
I_lock_mutex(&ms_QueryId_mutex);
|
I_lock_mutex(&ms_QueryId_mutex);
|
||||||
{
|
{
|
||||||
ok = ( *id == ms_QueryId );
|
okay = ( *id == ms_QueryId );
|
||||||
}
|
}
|
||||||
I_unlock_mutex(ms_QueryId_mutex);
|
I_unlock_mutex(ms_QueryId_mutex);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ok)
|
if (okay)
|
||||||
{
|
{
|
||||||
I_lock_mutex(&m_menu_mutex);
|
I_lock_mutex(&m_menu_mutex);
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue