From 2713baf5d3026801edbb529a4ff796115cfcdbda Mon Sep 17 00:00:00 2001 From: Kp Date: Sat, 9 Jul 2016 17:58:35 +0000 Subject: [PATCH] Move HUD_MESSAGE_LENGTH to hud.cpp --- common/main/hudmsg.h | 1 - similar/main/hud.cpp | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/common/main/hudmsg.h b/common/main/hudmsg.h index 471d54e81..f816f5598 100644 --- a/common/main/hudmsg.h +++ b/common/main/hudmsg.h @@ -13,7 +13,6 @@ #ifdef __cplusplus -#define HUD_MESSAGE_LENGTH 150 #define HUD_MAX_NUM_DISP 4 #define HUD_MAX_NUM_STOR 20 diff --git a/similar/main/hud.cpp b/similar/main/hud.cpp index e6f0d9f7a..974855f97 100644 --- a/similar/main/hud.cpp +++ b/similar/main/hud.cpp @@ -39,6 +39,7 @@ #include "countarray.h" namespace { +constexpr unsigned HUD_MESSAGE_LENGTH = 150; struct hudmsg {