Merge branch 'develop' of https://github.com/dankan1890/nana into dankan1890-develop

This commit is contained in:
Jinhao 2016-07-03 22:11:24 +08:00
commit c7fbfe86ba

View File

@ -121,7 +121,7 @@ namespace nana
delete[] row_ptrs; delete[] row_ptrs;
} }
public: public:
bool open(const experimental::filesystem::path& png_file) override bool open(const std::experimental::filesystem::path& png_file) override
{ {
auto fp = ::fopen(to_osmbstr(to_utf8(png_file.native())).c_str(), "rb"); auto fp = ::fopen(to_osmbstr(to_utf8(png_file.native())).c_str(), "rb");
if(nullptr == fp) return false; if(nullptr == fp) return false;