Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/elfmz/far2l.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelfmz <fenix1905@tut.by>2022-02-20 02:02:21 +0300
committerGitHub <noreply@github.com>2022-02-20 02:02:21 +0300
commite0f3f14fb3d648ba640e75cf25e257ac8fde4865 (patch)
treea88b1d0d075cd8a951a757e45114cf64a8cd6fb3 /far2l/src/menubar.cpp
parentdc2f6de4c2f438046b4d31cf4c2078b6ad65a5ce (diff)
Language refactor (#1271)
optimized and refactored language files loader got rid of MSG() macro and use Msg:: namespace instead
Diffstat (limited to 'far2l/src/menubar.cpp')
-rw-r--r--far2l/src/menubar.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/far2l/src/menubar.cpp b/far2l/src/menubar.cpp
index 5eff50e4..95aae4d3 100644
--- a/far2l/src/menubar.cpp
+++ b/far2l/src/menubar.cpp
@@ -37,13 +37,12 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "menubar.hpp"
#include "lang.hpp"
#include "colors.hpp"
-#include "language.hpp"
#include "interf.hpp"
void MenuBar::DisplayObject()
{
FARString strSpace=L" ";
- FARString strMsg=strSpace+MSG(MMenuLeftTitle)+strSpace+MSG(MMenuFilesTitle)+strSpace+MSG(MMenuCommandsTitle)+strSpace+MSG(MMenuOptionsTitle)+strSpace+MSG(MMenuRightTitle);
+ FARString strMsg=strSpace+Msg::MenuLeftTitle+strSpace+Msg::MenuFilesTitle+strSpace+Msg::MenuCommandsTitle+strSpace+Msg::MenuOptionsTitle+strSpace+Msg::MenuRightTitle;
RemoveHighlights(strMsg);
int Length=X2-X1+1;
FARString strFullMsg;