Ignore:
Timestamp:
Jan 9, 2017, 11:09:38 AM (3 years ago)
Author:
jrpelegrina
Message:

Update new version: 3.15.02

File:
1 edited

Legend:

Unmodified
Added
Removed
  • filezilla/trunk/fuentes/src/interface/file_utils.cpp

    r130 r3185  
    291291                (to.Find('|') != -1))
    292292        {
    293                 wxMessageBoxEx(_("Filenames may not contain any of the following characters: / \\ : * ? \" < > |"), _("Invalid filename"), wxICON_EXCLAMATION);
     293                wxMessageBoxEx(_("Filenames may not contain any of the following characters: / \\ : * ? \" < > |"), _("Invalid filename"), wxICON_EXCLAMATION, parent);
    294294                return false;
    295295        }
     
    300300        from = dir + from + _T(" ");
    301301        from.SetChar(from.Length() - 1, '\0');
    302         op.pFrom = from;
     302        op.pFrom = from.wc_str();
    303303        to = dir + to + _T(" ");
    304304        to.SetChar(to.Length()-1, '\0');
    305         op.pTo = to;
     305        op.pTo = to.wc_str();
    306306        op.hwnd = (HWND)parent->GetHandle();
    307307        op.wFunc = FO_RENAME;
     
    316316                (to.Find('|') != -1))
    317317        {
    318                 wxMessageBoxEx(_("Filenames may not contain any of the following characters: / * ? < > |"), _("Invalid filename"), wxICON_EXCLAMATION);
     318                wxMessageBoxEx(_("Filenames may not contain any of the following characters: / * ? < > |"), _("Invalid filename"), wxICON_EXCLAMATION, parent);
    319319                return false;
    320320        }
Note: See TracChangeset for help on using the changeset viewer.