--HG-- branch : develop
@ -228,15 +228,21 @@ namespace NLGUI
// path already has leading slash
if (!path.empty())
{
result += path;
}
if (!query.empty())
if (query.find_first_of("?") != 0)
result += "?";
if (query.find_first_of("?") != 0) result += "?";
result += query;
if (!hash.empty())
result += "#" + hash;
return result;
@ -3195,11 +3195,14 @@ class CHandlerGameConfigMode : public IActionHandler
bool bFound = false;
string tmp = toString(VideoModes[i].Frequency);
for (j = 0; j < (sint)stringFreqList.size(); ++j)
if (stringFreqList[j] == tmp)
bFound = true;
break;
if (!bFound)
stringFreqList.push_back(tmp);