Skip to content

Commit

Permalink
Quick fix for Rust nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
dkaste committed Feb 5, 2015
1 parent 0654321 commit f08c9bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ impl Console {
}
}

pub fn set_custom_font(font_path: ::std::path::Path, flags: FontFlags,
pub fn set_custom_font(font_path: ::std::old_path::Path, flags: FontFlags,
nb_char_horizontal: i32,
nb_char_vertical: i32) {
unsafe {
Expand Down Expand Up @@ -1090,7 +1090,7 @@ pub mod system {
return Duration::milliseconds(ms as i64)
}

pub fn save_screenshot(path: &std::path::Path) {
pub fn save_screenshot(path: &std::old_path::Path) {
assert!(path.exists());
let c_path = std::ffi::CString::from_slice(path.as_vec());
unsafe {
Expand Down

0 comments on commit f08c9bd

Please sign in to comment.