FIX image in linux
This commit is contained in:
parent
82d999ecf2
commit
c71cccc4f6
@ -47,7 +47,7 @@ namespace nana
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
public:
|
public:
|
||||||
bool open(const experimental::filesystem::path& jpeg_file) override
|
bool open(const std::experimental::filesystem::path& jpeg_file) override
|
||||||
{
|
{
|
||||||
auto fp = ::fopen(to_osmbstr(to_utf8(jpeg_file.native())).c_str(), "rb");
|
auto fp = ::fopen(to_osmbstr(to_utf8(jpeg_file.native())).c_str(), "rb");
|
||||||
if(nullptr == fp) return false;
|
if(nullptr == fp) return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user