mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-26 10:30:54 +00:00
Fixed: Wrong indent
This commit is contained in:
parent
43a3391a98
commit
bb3f3370b8
2 changed files with 17 additions and 8 deletions
|
@ -228,15 +228,21 @@ namespace NLGUI
|
||||||
|
|
||||||
// path already has leading slash
|
// path already has leading slash
|
||||||
if (!path.empty())
|
if (!path.empty())
|
||||||
|
{
|
||||||
result += path;
|
result += path;
|
||||||
|
}
|
||||||
|
|
||||||
if (!query.empty())
|
if (!query.empty())
|
||||||
if (query.find_first_of("?") != 0)
|
{
|
||||||
result += "?";
|
if (query.find_first_of("?") != 0) result += "?";
|
||||||
|
|
||||||
result += query;
|
result += query;
|
||||||
|
}
|
||||||
|
|
||||||
if (!hash.empty())
|
if (!hash.empty())
|
||||||
|
{
|
||||||
result += "#" + hash;
|
result += "#" + hash;
|
||||||
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
|
@ -3195,17 +3195,20 @@ class CHandlerGameConfigMode : public IActionHandler
|
||||||
bool bFound = false;
|
bool bFound = false;
|
||||||
string tmp = toString(VideoModes[i].Frequency);
|
string tmp = toString(VideoModes[i].Frequency);
|
||||||
for (j = 0; j < (sint)stringFreqList.size(); ++j)
|
for (j = 0; j < (sint)stringFreqList.size(); ++j)
|
||||||
|
{
|
||||||
if (stringFreqList[j] == tmp)
|
if (stringFreqList[j] == tmp)
|
||||||
{
|
{
|
||||||
bFound = true;
|
bFound = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (!bFound)
|
}
|
||||||
{
|
|
||||||
stringFreqList.push_back(tmp);
|
if (!bFound)
|
||||||
if (ClientCfg.Frequency == VideoModes[i].Frequency)
|
{
|
||||||
nFoundFreq = j;
|
stringFreqList.push_back(tmp);
|
||||||
}
|
if (ClientCfg.Frequency == VideoModes[i].Frequency)
|
||||||
|
nFoundFreq = j;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (nFoundFreq == -1) nFoundFreq = 0;
|
if (nFoundFreq == -1) nFoundFreq = 0;
|
||||||
|
|
Loading…
Reference in a new issue