Skip to content

Commit

Permalink
clipboard: fix notice in clipboard_windows.c.v (#20733)
Browse files Browse the repository at this point in the history
  • Loading branch information
max00217 authored Feb 5, 2024
1 parent e48e28d commit a374d25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vlib/clipboard/clipboard_windows.c.v
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ fn new_clipboard() &Clipboard {
cb_size: sizeof(WndClassEx)
lpfn_wnd_proc: voidptr(&C.DefWindowProc)
lpsz_class_name: class_name.to_wide()
lpsz_menu_name: 0
h_icon_sm: 0
lpsz_menu_name: unsafe { 0 }
h_icon_sm: unsafe { 0 }
}
if C.RegisterClassEx(voidptr(&wndclass)) == 0
&& C.GetLastError() != u32(C.ERROR_CLASS_ALREADY_EXISTS) {
Expand Down

0 comments on commit a374d25

Please sign in to comment.