summaryrefslogtreecommitdiff
path: root/vdagent
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2013-07-17 20:43:14 +0200
committerMarc-André Lureau <marcandre.lureau@gmail.com>2013-07-17 20:45:22 +0200
commit5129f33899805b55915e506d392c89421db538a2 (patch)
treeb59a9cb78256b45391074b40af8dbcef35742e73 /vdagent
parentb9d6baec2d346e37798dd1892f6ae95ac9d6c9ef (diff)
Add suggested parentheses
vdagent/vdagent.cpp: In member function 'void VDAgent::on_clipboard_grab()': vdagent/vdagent.cpp:951:52: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
Diffstat (limited to 'vdagent')
-rw-r--r--vdagent/vdagent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vdagent/vdagent.cpp b/vdagent/vdagent.cpp
index 73ca39c..260ee40 100644
--- a/vdagent/vdagent.cpp
+++ b/vdagent/vdagent.cpp
@@ -948,7 +948,7 @@ void VDAgent::on_clipboard_grab()
set_clipboard_owner(owner_guest);
} else {
UINT format = 0;
- while (format = EnumClipboardFormats(format)) {
+ while ((format = EnumClipboardFormats(format))) {
vd_printf("Unsupported clipboard format %u", format);
}
}