mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 18:06:04 +00:00
Replace deprectaed function (unlink, stricmp) with new ones (_unlink, _stricmp)
svn path=/trunk/; revision=38283
This commit is contained in:
parent
a0f2421f8e
commit
da70a17936
4 changed files with 5 additions and 5 deletions
|
@ -241,7 +241,7 @@ static void SelectFile(DFWINDOW wnd)
|
|||
while (wnd1 != NULL)
|
||||
{
|
||||
if (wnd1->extension &&
|
||||
stricmp(FileName, wnd1->extension) == 0)
|
||||
_stricmp(FileName, wnd1->extension) == 0)
|
||||
{
|
||||
DfSendMessage(wnd1, DFM_SETFOCUS, TRUE, 0);
|
||||
DfSendMessage(wnd1, DFM_RESTORE, 0, 0);
|
||||
|
@ -462,7 +462,7 @@ static void EditDeleteFile(DFWINDOW wnd)
|
|||
char msg[30];
|
||||
sprintf(msg, "Delete %s?", fn);
|
||||
if (DfYesNoBox(msg)) {
|
||||
unlink(wnd->extension);
|
||||
_unlink(wnd->extension);
|
||||
DfSendMessage(wnd, DFM_CLOSE_WINDOW, 0, 0);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue