VirtualBox

Changeset 17747 in vbox


Ignore:
Timestamp:
Mar 12, 2009 1:34:29 PM (16 years ago)
Author:
vboxsync
Message:

OVF: inverted ofc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ApplianceImpl.cpp

    r17746 r17747  
    11571157    // see if we can handle this file; for now we insist it has an ".ovf" extension
    11581158    m->strPath = path;
    1159     if (m->strPath.endsWith(".ovf", Utf8Str::CaseInsensitive))
     1159    if (!m->strPath.endsWith(".ovf", Utf8Str::CaseInsensitive))
    11601160        return setError(VBOX_E_FILE_ERROR,
    11611161                        tr("Appliance file must have .ovf extension"));
     
    16171617    // see if we can handle this file; for now we insist it has an ".ovf" extension
    16181618    m->strPath = path;
    1619     if (m->strPath.endsWith(".ovf", Utf8Str::CaseInsensitive))
     1619    if (!m->strPath.endsWith(".ovf", Utf8Str::CaseInsensitive))
    16201620        return setError(VBOX_E_FILE_ERROR,
    16211621                        tr("Appliance file must have .ovf extension"));
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette