From: TerminalHash Date: Sat, 27 May 2023 00:40:02 +0000 (+0300) Subject: system: add option --lang-dir X-Git-Url: https://deadsoftware.ru/gitweb?p=d2df-editor.git;a=commitdiff_plain;h=ec98030d700c2f716bbf600ac4f6e30ad35d26be system: add option --lang-dir --- diff --git a/src/editor/Editor.lpr b/src/editor/Editor.lpr index 1ca2d20..6bf0b86 100644 --- 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;