summaryrefslogtreecommitdiff
path: root/src/notifications.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-12 21:28:54 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-12 21:28:54 +0300
commit5c66d91e3e69446081ef6254063ad638fbc48aca (patch)
treec3bb94057bcd4bdbb8568e815c7f18c44417a78a /src/notifications.h
parentf6000c9088ee63428f65ee980f6751f85a7e7d7e (diff)
downloadmanaplus-5c66d91e3e69446081ef6254063ad638fbc48aca.tar.gz
manaplus-5c66d91e3e69446081ef6254063ad638fbc48aca.tar.bz2
manaplus-5c66d91e3e69446081ef6254063ad638fbc48aca.tar.xz
manaplus-5c66d91e3e69446081ef6254063ad638fbc48aca.zip
Fix code style.
Diffstat (limited to 'src/notifications.h')
-rw-r--r--src/notifications.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/notifications.h b/src/notifications.h
index a8ac55e0e..5906eea74 100644
--- a/src/notifications.h
+++ b/src/notifications.h
@@ -21,6 +21,8 @@
#ifndef NOTIFYCATIONS_H
#define NOTIFYCATIONS_H
+#include "localconsts.h"
+
#include "utils/gettext.h"
namespace NotifyManager
@@ -37,7 +39,7 @@ namespace NotifyManager
SPEECH
};
- struct NotificationInfo
+ struct NotificationInfo final
{
const char *text;
const NotifyFlags flags;
@@ -169,7 +171,8 @@ namespace NotifyManager
{N_("Equip arrows first."), EMPTY},
{N_("Trading with %s isn't possible. Trade partner is too far away."),
STRING},
- {N_("Trading with %s isn't possible. Character doesn't exist."), STRING},
+ {N_("Trading with %s isn't possible. Character doesn't exist."),
+ STRING},
{N_("Trade cancelled due to an unknown reason."), EMPTY},
{N_("Trade with %s cancelled."), STRING},
{N_("Unhandled trade cancel packet with %s"), STRING},