summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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);