*/
#ifdef __GNUG__
-#pragma implementation
+#pragma implementation "fs_inet.h"
#endif
#include "wx/wxprec.h"
wxURL url(p + wxT(":") + StripProtocolAnchor(location));
return (url.GetError() == wxURL_NOERR);
}
- else
- return FALSE;
+
+ return FALSE;
}
// Load item from cache:
s = new wxFileInputStream(info->GetTemp());
- if (s)
- {
- return new wxFSFile(s,
- right,
- info->GetMime(),
- GetAnchor(location),
- wxDateTime::Now());
- }
- else return (wxFSFile*) NULL;
+ if (!s)
+ return (wxFSFile*) NULL;
+
+ return new wxFSFile(s,
+ right,
+ info->GetMime(),
+ GetAnchor(location),
+ wxDateTime::Now());
}