fix PNG build.

This commit is contained in:
dankan1890
2016-06-30 20:46:02 +02:00
parent b32afa282c
commit 72768fd788

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;