diff options
Diffstat (limited to 'ui')
-rw-r--r-- | ui/clipboard.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/clipboard.c b/ui/clipboard.c index cd5382f..3e2d02d 100644 --- a/ui/clipboard.c +++ b/ui/clipboard.c @@ -54,9 +54,9 @@ bool qemu_clipboard_check_serial(QemuClipboardInfo *info, bool client) } if (client) { - ok = cbinfo[info->selection]->serial >= info->serial; + ok = info->serial >= cbinfo[info->selection]->serial; } else { - ok = cbinfo[info->selection]->serial > info->serial; + ok = info->serial > cbinfo[info->selection]->serial; } trace_clipboard_check_serial(cbinfo[info->selection]->serial, info->serial, ok); |