summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4cd2774)
raw | patch | inline | side by side (parent: 4cd2774)
author | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Thu, 7 Sep 2023 14:40:01 +0000 (17:40 +0300) | ||
committer | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Thu, 7 Sep 2023 16:55:51 +0000 (19:55 +0300) |
src/editor/f_addresource.pas | patch | blob | history | |
src/editor/g_language.pas | patch | blob | history |
index a0bebb99bd2912ada915778f7aef692159bd35d9..913f19f30d7331e3a2894c6c236f1aee3fcdb75c 100644 (file)
FFullResourceName := '';
FResourceSelected := False;
- if FindFirst(WadsDir + DirectorySeparator + '*.*', faAnyFile, SR) = 0 then
+ if FindFirst(WadsDir + DirectorySeparator + '*.*', faReadOnly, SR) = 0 then
repeat
cbWADList.Items.Add(SR.Name);
until FindNext(SR) <> 0;
index ea1f23660237da8593209739dc0200d84287843f..3f7c5de42a034e21c7fe41ac61f3982481d031eb 100644 (file)
list := TStringList.Create;
list.Duplicates := dupIgnore;
list.Add(InSourceLanguage);
- if FindFirst(LangDir + DirectorySeparator + langfilename + '.*.lng', faAnyFile, info) = 0 then
+ if FindFirst(LangDir + DirectorySeparator + langfilename + '.*.lng', faReadOnly, info) = 0 then
begin
repeat
list.Add(Copy(ExtractFileNameWithoutExt(info.Name), Length(langfilename) + 2));