Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix compilation. Hopefully I broke nothing

  • Loading branch information...
commit a31ed23bc0512baca2b51a49a7f94484da7a1e55 1 parent 6dd4c6f
@auriamg auriamg authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/achievements/achievements_status.cpp
View
2  src/achievements/achievements_status.cpp
@@ -147,7 +147,7 @@ void AchievementsStatus::sync(const std::vector<uint32_t> & achieved_ids)
if(ids.size()>0)
{
- ids.pop_back(); // delete the last "," in the string
+ ids = ids.substr(0, ids.size() - 1); // delete the last "," in the string
Log::info("Achievements", "Synching achievement %d to server.",
ids.c_str());
Online::HTTPRequest * request = new Online::HTTPRequest(true, 2);
Please sign in to comment.
Something went wrong with that request. Please try again.