Rev 6191 | Rev 6278 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6191 | Rev 6251 | ||
---|---|---|---|
Line 855... | Line 855... | ||
855 | int Del_File2(dword way, sh_progr) |
855 | int Del_File2(dword way, sh_progr) |
856 | { |
856 | { |
857 | dword dirbuf, fcount, i, filename; |
857 | dword dirbuf, fcount, i, filename; |
858 | int error; |
858 | int error; |
859 | char del_from[4096]; |
859 | char del_from[4096]; |
860 | if (isdir(way)) |
860 | if (dir_exists(way)) |
861 | { |
861 | { |
862 | if (error = GetDir(#dirbuf, #fcount, way, DIRS_ONLYREAL)) del_error = error; |
862 | if (error = GetDir(#dirbuf, #fcount, way, DIRS_ONLYREAL)) del_error = error; |
863 | for (i=0; i |
863 | for (i=0; i |
864 | { |
864 | { |
865 | if (CheckEvent()==evReDraw) draw_window(); |
865 | if (CheckEvent()==evReDraw) draw_window(); |