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

Fix syntax error bis repetita #243

Merged
merged 1 commit into from Feb 14, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/win32_surface.rs
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