Skip to content

Commit

Permalink
Fixed|libcommon: Passing a string argument to App_Log
Browse files Browse the repository at this point in the history
Only POD data accepted.
  • Loading branch information
skyjake committed Feb 12, 2014
1 parent d51b3aa commit 7972137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/plugins/common/src/p_saveg.cpp
Expand Up @@ -2614,7 +2614,7 @@ dd_bool SV_LoadGame(int slot)
}
catch(de::Error const &er)
{
App_Log(DE2_RES_WARNING, "Error loading save slot #%i:\n%s", slot, er.asText());
App_Log(DE2_RES_WARNING, "Error loading save slot #%i:\n%s", slot, er.asText().toLatin1().constData());
}

return false;
Expand Down

0 comments on commit 7972137

Please sign in to comment.