Skip to content

Commit

Permalink
clipboard: fix notice in vlib/clipboard/x11/clipboard.c.v
Browse files Browse the repository at this point in the history
  • Loading branch information
spytheman committed Dec 18, 2023
1 parent cfd19bf commit 050344a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlib/clipboard/x11/clipboard.c.v
Expand Up @@ -178,7 +178,7 @@ fn new_x11_clipboard(selection AtomType) &Clipboard {
if display == C.NULL {
println('ERROR: No X Server running. Clipboard cannot be used.')
return &Clipboard{
display: 0
display: unsafe { nil }
mutex: sync.new_mutex()
}
}
Expand Down

0 comments on commit 050344a

Please sign in to comment.