On 12/13/2017 01:18 PM, Programmingkid wrote: > Thank you BALATON for the file. One thing that caught my eye in this file is this: > > if (usage->code == KEY_FN) { > asc->fn_on = !!value; > > Why would they need the double !? Double '!!' is an idiomatic way to force a value to be converted to bool (squashing all non-zero values into 1). -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org