summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-07-07 15:08:06 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-07-07 15:08:06 +0000
commit87145be9532e06f4c76e87cc2333d8353a16fea0 (patch)
tree865eafe76871ef9bc812867d8a868b2d953952c0 /src
parente500caf464f3f4bed01a7d72fc3421f6ea575c04 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/mir_core/langpack.cpp2
1 files changed, 2 insertions, 0 deletions
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);