From 87145be9532e06f4c76e87cc2333d8353a16fea0 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 7 Jul 2013 15:08:06 +0000 Subject: revert of commit 5255: this rtrim has nothing to do with spaces inside brackets git-svn-id: http://svn.miranda-ng.org/main/trunk@5258 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/mir_core/langpack.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mir_core/langpack.cpp b/src/mir_core/langpack.cpp index db7e7b9a50..1a0f87a715 100644 --- a/src/mir_core/langpack.cpp +++ b/src/mir_core/langpack.cpp @@ -208,6 +208,8 @@ static void LoadLangPackFile(FILE* fp, char* line, UINT fileCp) if (IsEmpty(line) || line[0] == ';' || line[0] == 0) continue; + rtrim(line); + if (line[0] == '#') { strlwr(line); -- cgit v1.2.3