X-Git-Url: https://deadsoftware.ru/gitweb?p=d2df-editor.git;a=blobdiff_plain;f=src%2Feditor%2Ff_savemap.pas;h=c9fff9e176ad1ad4af64556d727649e390d3111f;hp=6d9b947f2427633045c4e37a057b7b30a1f62add;hb=2789c629b21057292614b015b9a03595bab89c2f;hpb=73501e904776246ca81b42be2b14015df1f4d084 diff --git a/src/editor/f_savemap.pas b/src/editor/f_savemap.pas index 6d9b947..c9fff9e 100644 --- a/src/editor/f_savemap.pas +++ b/src/editor/f_savemap.pas @@ -69,7 +69,7 @@ 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(_lc[I_MSG_MAP_EXISTS], [eMapName.Text])), PChar(_lc[I_MSG_SAVE_MAP]), MB_ICONQUESTION or MB_YESNO or MB_DEFBUTTON1) = mrYes;