spice: don't use 'Yoda conditions'
commitfe8e8327f1a5e0b07e5aad9e3b5725ac2ebda415
authorGonglei <arei.gonglei@huawei.com>
Mon, 11 Aug 2014 13:00:56 +0000 (11 21:00 +0800)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 15 Aug 2014 14:54:07 +0000 (15 18:54 +0400)
treed23ce59f4f9cbb3fa2187940abc4b3b46207e355
parent8108fd3e26236c14138b87e1081ec2b7b86e5132
spice: don't use 'Yoda conditions'

imitate nearby code about using '!value' or 'value == NULL'

Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
ui/spice-core.c