Skip to content
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.

Commit

Permalink
Fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Feb 13, 2019
1 parent 346fd93 commit 95ce6f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/win32_surface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ impl Win32Surface {

#[cfg(any(all(windows, feature = "v1_14"), feature = "dox"))]
pub fn create_with_format(hdc: winapi::HDC, format: Format) -> Result<Win32Surface, Status> {
unsafe { Self::from_raw_full(ffi::cairo_win32_surface_create_with_format(hdc, format.into)) }
unsafe { Self::from_raw_full(ffi::cairo_win32_surface_create_with_format(hdc, format.into()) }
}

pub fn create_with_dib(format: Format, width: i32, height: i32) -> Result<Win32Surface, Status> {
Expand Down

0 comments on commit 95ce6f9

Please sign in to comment.