mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 13:36:24 +02:00
Code readability, vec reserve() and remove excess c_str()
This commit is contained in:
1 parent
fec708489a
commit
b304551747
22 files changed
+41
-34
No files matched your search
@@ -176,7 +176,7 @@ bool RemoteISOConnectScreen::FindServer(std::string &resultHost, int &resultPort
|
||||
};
|
||||
|
||||
// Try last server first, if it is set
|
||||
if (g_Config.iLastRemoteISOPort && g_Config.sLastRemoteISOServer != "") {
|
||||
if (g_Config.iLastRemoteISOPort && !g_Config.sLastRemoteISOServer.empty()) {
|
||||
if (TryServer(g_Config.sLastRemoteISOServer.c_str(), g_Config.iLastRemoteISOPort)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user