Rev 4028 | Rev 4034 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4028 | Rev 4029 | ||
---|---|---|---|
Line 74... | Line 74... | ||
74 | ?define T_CANCEL_PASTE "Copy process terminated. Folder copied incompletely." |
74 | ?define T_CANCEL_PASTE "Copy process terminated. Folder copied incompletely." |
75 | #endif |
75 | #endif |
Line 76... | Line 76... | ||
76 | 76 | ||
Line 77... | Line 77... | ||
77 | enum {ONLY_SHOW, WITH_REDRAW, ONLY_OPEN}; //OpenDir |
77 | enum {ONLY_SHOW, WITH_REDRAW, ONLY_OPEN}; //OpenDir |
78 | 78 | ||
79 | #define TITLE "Eolite File Manager v1.98.4" |
79 | #define TITLE "Eolite File Manager v1.98.5" |
80 | #define ABOUT_TITLE "Eolite v1.98.4" |
80 | #define ABOUT_TITLE "Eolite v1.98.5" |
81 | dword col_work = 0xE4DFE1; |
81 | dword col_work = 0xE4DFE1; |
82 | dword col_border = 0x9098B0; //A0A0B8; //0x819FC5; |
82 | dword col_border = 0x9098B0; //A0A0B8; //0x819FC5; |
83 | dword col_padding = 0xC8C9C9; |
83 | dword col_padding = 0xC8C9C9; |
Line 751... | Line 751... | ||
751 | strcpy(#edit_name, #file_name); //save edit name to select it later |
751 | strcpy(#edit_name, #file_name); //save edit name to select it later |
752 | strcat(#temp, #file_name); |
752 | strcat(#temp, #file_name); |
753 | if (strcmp(#file_path,#temp)!=0) && (file_name) |
753 | if (strcmp(#file_path,#temp)!=0) && (file_name) |
754 | if (itdir) |
754 | if (itdir) |
755 | { |
755 | { |
756 | del_rezult = DeleteFile(#file_path); |
756 | if (del_rezult = DeleteFile(#file_path)) |
757 | if (del_rezult!=0) |
- | |
758 | { |
757 | { |
759 | Write_Error(del_rezult); |
758 | Write_Error(del_rezult); |
760 | ShowMessage(T_DEL_ERROR_1, 150); |
759 | ShowMessage(T_DEL_ERROR_1, 150); |
761 | return; |
760 | return; |
762 | } |
761 | } |
763 | ELSE CreateDir(#temp); |
762 | if (CreateDir(#temp)) CreateDir(#file_path); |
764 | Open_Dir(#path,WITH_REDRAW); |
763 | Open_Dir(#path,WITH_REDRAW); |
- | 764 | SelectFile(#edit_name); |
|
765 | } |
765 | } |
766 | else |
766 | else |
767 | { |
767 | { |
768 | copy_rezult = CopyFile(#file_path,#temp); |
768 | if (copy_rezult = CopyFile(#file_path,#temp)) |
- | 769 | { |
|
769 | if (copy_rezult!=0) Write_Error(copy_rezult); else Del_File(true); |
770 | Write_Error(copy_rezult); |
770 | } |
771 | } |
- | 772 | else |
|
- | 773 | { |
|
- | 774 | Del_File(true); |
|
771 | SelectFile(#edit_name); |
775 | SelectFile(#edit_name); |
772 | } |
776 | } |
- | 777 | } |
|
- | 778 | } |
|
773 | Line_ReDraw(col_selec,files.current); |
779 | Line_ReDraw(col_selec,files.current); |
774 | } |
780 | } |
Line 775... | Line 781... | ||
775 | 781 |