Changeset 17747 in vbox
- Timestamp:
- Mar 12, 2009 1:34:29 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ApplianceImpl.cpp
r17746 r17747 1157 1157 // see if we can handle this file; for now we insist it has an ".ovf" extension 1158 1158 m->strPath = path; 1159 if ( m->strPath.endsWith(".ovf", Utf8Str::CaseInsensitive))1159 if (!m->strPath.endsWith(".ovf", Utf8Str::CaseInsensitive)) 1160 1160 return setError(VBOX_E_FILE_ERROR, 1161 1161 tr("Appliance file must have .ovf extension")); … … 1617 1617 // see if we can handle this file; for now we insist it has an ".ovf" extension 1618 1618 m->strPath = path; 1619 if ( m->strPath.endsWith(".ovf", Utf8Str::CaseInsensitive))1619 if (!m->strPath.endsWith(".ovf", Utf8Str::CaseInsensitive)) 1620 1620 return setError(VBOX_E_FILE_ERROR, 1621 1621 tr("Appliance file must have .ovf extension"));
Note:
See TracChangeset
for help on using the changeset viewer.