GIT
/
REPO
/
FRED-BOY
Projects
/
d2df-editor.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
698a912
)
system: add option --lang-dir
author
TerminalHash <lyashuk.voxx@gmail.com>
Sat, 27 May 2023 00:40:02 +0000
(
03:40
+0300)
committer
TerminalHash <lyashuk.voxx@gmail.com>
Sat, 27 May 2023 00:40:02 +0000
(
03:40
+0300)
src/editor/Editor.lpr
patch
|
blob
|
history
diff --git
a/src/editor/Editor.lpr
b/src/editor/Editor.lpr
index 1ca2d20f5378c543ada9d7d268f207fec2b88100..6bf0b86243c94bff222999756e0d4db8bde52f4a 100644
(file)
--- a/
src/editor/Editor.lpr
+++ b/
src/editor/Editor.lpr
@@
-143,6
+143,14
@@
uses
Inc(i);
WadsDir := ParamStr(i);
end;
+ end
+ else if p = '--lang-dir' then
+ begin
+ if i + 1 <= ParamCount then
+ begin
+ Inc(i);
+ LangDir := ParamStr(i);
+ end;
end;
Inc(i);
end;
DEADSOFTWARE 2012-2025