summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2160e1e)
raw | patch | inline | side by side (parent: 2160e1e)
author | binarymaster <x86corez@gmail.com> | |
Thu, 28 Sep 2017 12:58:34 +0000 (15:58 +0300) | ||
committer | binarymaster <x86corez@gmail.com> | |
Thu, 28 Sep 2017 12:58:34 +0000 (15:58 +0300) |
src/editor/f_main.pas | patch | blob | history |
diff --git a/src/editor/f_main.pas b/src/editor/f_main.pas
index f4de797d1463084772634b6f02394228cc453c7d..90652570f29530fb3330912e0865815499e7b582 100644 (file)
--- a/src/editor/f_main.pas
+++ b/src/editor/f_main.pas
lbTextureList.Sorted := True;
lbTextureList.Sorted := False;
- UpdateCaption(gMapInfo.Name, ExtractFileName(FileName), MapName);
+ UpdateCaption(win2utf(gMapInfo.Name), ExtractFileName(FileName), MapName);
end;
end;
while (Pos(':\', ResName) > 0) do
Delete(ResName, 1, Pos(':\', ResName) + 1);
- UpdateCaption(gMapInfo.Name, ExtractFileName(OpenedWAD), ResName);
+ UpdateCaption(win2utf(gMapInfo.Name), ExtractFileName(OpenedWAD), ResName);
end;
procedure TMainForm.aAboutExecute(Sender: TObject);
gMapInfo.FileName := SaveDialog.FileName;
gMapInfo.MapName := SaveMapForm.eMapName.Text;
- UpdateCaption(gMapInfo.Name, ExtractFileName(gMapInfo.FileName), gMapInfo.MapName);
+ UpdateCaption(win2utf(gMapInfo.Name), ExtractFileName(gMapInfo.FileName), gMapInfo.MapName);
end;
procedure TMainForm.aSelectAllExecute(Sender: TObject);