mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
all: fix remaining []array
warnings
This commit is contained in:
@ -377,7 +377,7 @@ fn (cb &Clipboard) pick_target(prop Property) C.Atom {
|
||||
}
|
||||
|
||||
fn (cb &Clipboard) get_atoms(types ...AtomType) []C.Atom {
|
||||
mut atoms := []C.Atom
|
||||
mut atoms := []C.Atom{}
|
||||
for typ in types {
|
||||
atoms << cb.atoms[typ]
|
||||
}
|
||||
|
Reference in New Issue
Block a user