X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Feditor%2Ff_savemap.pas;h=a508c24bc2a2240d477dab6a5e650c4b6c041c84;hb=3360cb5c3e96b591451afa67a0f8a281db79e8c5;hp=6d9b947f2427633045c4e37a057b7b30a1f62add;hpb=24d173d1ebd972a69c80d3e4e6dfea86c9a144e1;p=d2df-editor.git diff --git a/src/editor/f_savemap.pas b/src/editor/f_savemap.pas index 6d9b947..a508c24 100644 --- a/src/editor/f_savemap.pas +++ b/src/editor/f_savemap.pas @@ -69,9 +69,9 @@ begin for a := 0 to lbMapList.Count-1 do if eMapName.Text = lbMapList.Items[a] then begin - ok := MessageBox(0, PChar(Format(_lc[I_MSG_MAP_EXISTS], + ok := Application.MessageBox(PChar(Format(MsgMsgMapExists, [eMapName.Text])), - PChar(_lc[I_MSG_SAVE_MAP]), + PChar(MsgMsgSaveMap), MB_ICONQUESTION or MB_YESNO or MB_DEFBUTTON1) = mrYes; if not ok then Exit;