From 9ac14800da32e3a86ff26279db0d9a07d503da34 Mon Sep 17 00:00:00 2001
From: Jonas Kulla <Nyocurio@gmail.com>
Date: Mon, 17 Nov 2014 07:24:22 +0100
Subject: [PATCH] Keybindings: SDL_GetPrefPath result always ends with
 separator

---
 src/keybindings.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/keybindings.cpp b/src/keybindings.cpp
index 3eba75e..6f54f9c 100644
--- a/src/keybindings.cpp
+++ b/src/keybindings.cpp
@@ -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,