Make use of SYSINCLUDE.
All checks were successful
Remind unit tests / tests (push) Successful in 32s

This commit is contained in:
Dianne Skoll
2024-12-13 08:28:14 -05:00
parent 0c9a35a584
commit 4e7cfc20ce
2 changed files with 4 additions and 4 deletions

View File

@@ -16,10 +16,10 @@ if !defined("__autolang__")
IF autolang != ""
IF access($SysInclude + "/lang/" + lower(substr(autolang, 1, 5)) + ".rem", "r") == 0
INCLUDE [$SysInclude]/lang/[lower(substr(autolang, 1, 5))].rem
SYSINCLUDE lang/[lower(substr(autolang, 1, 5))].rem
ELSE
IF access($SysInclude + "/lang/" + lower(substr(autolang, 1, 2)) + ".rem", "r") == 0
INCLUDE [$SysInclude]/lang/[lower(substr(autolang, 1, 2))].rem
SYSINCLUDE lang/[lower(substr(autolang, 1, 2))].rem
ENDIF
ENDIF
ENDIF