X-Git-Url: https://deadsoftware.ru/gitweb?p=d2df-editor.git;a=blobdiff_plain;f=src%2Feditor%2FEditor.lpr;h=6bf0b86243c94bff222999756e0d4db8bde52f4a;hp=1ca2d20f5378c543ada9d7d268f207fec2b88100;hb=ec98030d700c2f716bbf600ac4f6e30ad35d26be;hpb=698a912f8416d17698f2431dfb5d4b2a7ca74ef3 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;