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) let result = match nfd::open_pick_folder(None)
.log_expect("Unable to open folder dialog") .log_expect("Unable to open folder dialog")
{ {
Response::Okay(v) => v, Response::Okay(v) => Ok(v),
_ => return, _ => Err(()),
}; };
#[cfg(not(windows))] #[cfg(not(windows))]