platform: fix regression...

... that prevents the build on Windows
This commit is contained in:
liushuyu 2019-03-29 11:44:26 -06:00
parent 66e2473a40
commit fed2d28aa8
No known key found for this signature in database
GPG key ID: 23D1CE4534419437

View file

@ -301,8 +301,8 @@ fn main() {
let result = match nfd::open_pick_folder(None)
.log_expect("Unable to open folder dialog")
{
Response::Okay(v) => v,
_ => return,
Response::Okay(v) => Ok(v),
_ => Err(()),
};
#[cfg(not(windows))]