summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-04-07 18:48:12 +0300
committerAndrei Karas <akaras@inbox.ru>2012-04-07 18:48:12 +0300
commit8aa59221c316baf989424983d228f3bffd1b7e0a (patch)
tree639274f4e863fc5b763704f4c973f54159785d88 /src
parent5fdcc0aa69967ec46375c3734f038aee80a264f8 (diff)
downloadplus-8aa59221c316baf989424983d228f3bffd1b7e0a.tar.gz
plus-8aa59221c316baf989424983d228f3bffd1b7e0a.tar.bz2
plus-8aa59221c316baf989424983d228f3bffd1b7e0a.tar.xz
plus-8aa59221c316baf989424983d228f3bffd1b7e0a.zip
Fix code style.
Diffstat (limited to 'src')
-rw-r--r--src/game.cpp1
-rw-r--r--src/gui/setup_keyboard.cpp5
2 files changed, 3 insertions, 3 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 670188038..786b72e6f 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -48,7 +48,6 @@
#include "gui/killstats.h"
#include "gui/minimap.h"
#include "gui/ministatuswindow.h"
-#include "gui/npcpostdialog.h"
#include "gui/okdialog.h"
#include "gui/outfitwindow.h"
#include "gui/setup.h"
diff --git a/src/gui/setup_keyboard.cpp b/src/gui/setup_keyboard.cpp
index 40604737a..d014ea11e 100644
--- a/src/gui/setup_keyboard.cpp
+++ b/src/gui/setup_keyboard.cpp
@@ -47,7 +47,8 @@ struct SetupActionData
int actionId;
};
-static SetupActionData const setupActionData[] = {
+static SetupActionData const setupActionData[] =
+{
{
N_("Basic Keys"),
KeyboardConfig::KEY_NO_VALUE
@@ -707,7 +708,7 @@ static SetupActionData const setupActionData[] = {
{
N_("Modifier key"),
KeyboardConfig::KEY_MOD
- },
+ }
};
const int keysSize = sizeof(setupActionData) / sizeof(SetupActionData);