Fix compile error for win32

master
Eduardo Bart 11 years ago
parent e9e4dcd71b
commit 4bdd1e79fd

@ -241,9 +241,13 @@ function tryLogout()
if not g_game.isConnectionOk() then
local yesCallback = function()
g_game.forceLogout()
logoutWindow=nil
if logoutWindow then
logoutWindow:destroy()
logoutWindow=nil
end
end
local noCallback = function()
logoutWindow:destroy()
logoutWindow=nil
end
@ -254,9 +258,11 @@ function tryLogout()
else
local yesCallback = function()
g_game.safeLogout()
logoutWindow:destroy()
logoutWindow=nil
end
local noCallback = function()
logoutWindow:destroy()
logoutWindow=nil
end

@ -415,7 +415,7 @@ std::string Platform::getOSName()
}
std::string Platform::traceback(const std::string& where)
std::string Platform::traceback(const std::string& where, int level, int maxDepth)
{
std::stringstream ss;
ss << "\nat:";

Loading…
Cancel
Save