- if (wxFileExists(right))
- return new wxFSFile(new wxFileInputStream(right),
- right,
- GetMimeTypeFromExt(location),
- GetAnchor(location),
- wxDateTime(wxFileModificationTime(right)));
- else return (wxFSFile*) NULL;
+ if (!wxFileExists(right))
+ return (wxFSFile*) NULL;
+
+ return new wxFSFile(new wxFileInputStream(right),
+ right,
+ GetMimeTypeFromExt(location),
+ GetAnchor(location),
+ wxDateTime(wxFileModificationTime(right)));
+