summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUri Lublin <uril@redhat.com>2013-11-27 18:38:07 +0200
committerUri Lublin <uril@redhat.com>2013-11-27 18:38:13 +0200
commit29022fdc3b70d9cd4a89d5505be989b94aa466b3 (patch)
tree185c8ca1c20cbf8a442dfd14c9fb8ba24040389e
parentc3d1aa6b35bd922af08f7bfd011c3087619eb16f (diff)
downloadvd_agent-29022fdc3b70d9cd4a89d5505be989b94aa466b3.tar.gz
vd_agent-29022fdc3b70d9cd4a89d5505be989b94aa466b3.tar.xz
vd_agent-29022fdc3b70d9cd4a89d5505be989b94aa466b3.zip
clipboard target_to_type: fix inner loop variable name
-rw-r--r--src/vdagent-x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vdagent-x11.c b/src/vdagent-x11.c
index 5ce6000..c5d54ac 100644
--- a/src/vdagent-x11.c
+++ b/src/vdagent-x11.c
@@ -753,7 +753,7 @@ static uint32_t vdagent_x11_target_to_type(struct vdagent_x11 *x11,
int i, j;
for (i = 0; i < clipboard_format_count; i++) {
- for (j = 0; j < x11->clipboard_formats[i].atom_count; i++) {
+ for (j = 0; j < x11->clipboard_formats[i].atom_count; j++) {
if (x11->clipboard_formats[i].atoms[j] == target) {
return x11->clipboard_formats[i].type;
}