mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
clipboard: fix notice in vlib/clipboard/x11/clipboard.c.v
This commit is contained in:
parent
cfd19bfe77
commit
050344ae7b
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue