From c268e13a8e8d7a172d7e53a52083bfda58f93555 Mon Sep 17 00:00:00 2001 From: "fix94.1" Date: Fri, 1 Jun 2012 15:05:05 +0000 Subject: [PATCH] lalala --- source/plugin/plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/plugin/plugin.cpp b/source/plugin/plugin.cpp index 27b0e7df..3c310da9 100644 --- a/source/plugin/plugin.cpp +++ b/source/plugin/plugin.cpp @@ -151,7 +151,7 @@ void Plugin::SetEnablePlugin(Config &cfg, u8 pos, u8 ForceMode) { if(pos < Plugins.size()) { - char PluginMagicWord[8]; + char PluginMagicWord[9]; snprintf(PluginMagicWord, sizeof(PluginMagicWord), "%08x", Plugins[pos].magicWord); if(ForceMode == 1) cfg.setBool("PLUGIN", PluginMagicWord, false);