From bc92643d8db723b5049db2dbad1ce052a0ae77a9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 16 Oct 2012 20:39:33 +0300 Subject: Fix code style and some other minor issues. --- src/playerrelations.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/playerrelations.cpp') diff --git a/src/playerrelations.cpp b/src/playerrelations.cpp index 8483a7412..7ab532f26 100644 --- a/src/playerrelations.cpp +++ b/src/playerrelations.cpp @@ -34,12 +34,13 @@ #include "debug.h" -static const char *PLAYER_IGNORE_STRATEGY_NOP = "nop"; -static const char *PLAYER_IGNORE_STRATEGY_EMOTE0 = "emote0"; -static const char *DEFAULT_IGNORE_STRATEGY = PLAYER_IGNORE_STRATEGY_EMOTE0; +static const char *const PLAYER_IGNORE_STRATEGY_NOP = "nop"; +static const char *const PLAYER_IGNORE_STRATEGY_EMOTE0 = "emote0"; +static const char *const DEFAULT_IGNORE_STRATEGY + = PLAYER_IGNORE_STRATEGY_EMOTE0; -static const char *NAME = "name"; // constant for xml serialisation -static const char *RELATION = "relation"; // constant for xml serialisation +static const char *const NAME = "name"; +static const char *const RELATION = "relation"; static const unsigned int IGNORE_EMOTE_TIME = 100; -- cgit v1.2.3-60-g2f50