Keybindings: SDL_GetPrefPath result always ends with separator

This commit is contained in:
Jonas Kulla 2014-11-17 07:24:22 +01:00
parent 5c3f4b905a
commit 9ac14800da
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ struct Header
static void buildPath(const std::string &dir, uint32_t rgssVersion,
char *out, size_t outSize)
{
snprintf(out, outSize, "%s/keybindings.mkxp%u", dir.c_str(), rgssVersion);
snprintf(out, outSize, "%skeybindings.mkxp%u", dir.c_str(), rgssVersion);
}
static bool writeBindings(const BDescVec &d, const std::string &dir,