Blame SOURCES/0007-clipboard-target_to_type-fix-inner-loop-variable-nam.patch

4e1899
From aff972e4123aa9288a19c34d0e704972e29dd630 Mon Sep 17 00:00:00 2001
4e1899
From: Uri Lublin <uril@redhat.com>
4e1899
Date: Wed, 27 Nov 2013 18:38:07 +0200
4e1899
Subject: [PATCH] clipboard target_to_type: fix inner loop variable name
4e1899
4e1899
(cherry picked from commit 29022fdc3b70d9cd4a89d5505be989b94aa466b3)
4e1899
4e1899
https://bugzilla.redhat.com/show_bug.cgi?id=1117764
4e1899
---
4e1899
 src/vdagent-x11.c | 2 +-
4e1899
 1 file changed, 1 insertion(+), 1 deletion(-)
4e1899
4e1899
diff --git a/src/vdagent-x11.c b/src/vdagent-x11.c
4e1899
index 8287421..8781d5e 100644
4e1899
--- a/src/vdagent-x11.c
4e1899
+++ b/src/vdagent-x11.c
4e1899
@@ -753,7 +753,7 @@ static uint32_t vdagent_x11_target_to_type(struct vdagent_x11 *x11,
4e1899
     int i, j;
4e1899
 
4e1899
     for (i = 0; i < clipboard_format_count; i++) {
4e1899
-        for (j = 0; j < x11->clipboard_formats[i].atom_count; i++) {
4e1899
+        for (j = 0; j < x11->clipboard_formats[i].atom_count; j++) {
4e1899
             if (x11->clipboard_formats[i].atoms[j] == target) {
4e1899
                 return x11->clipboard_formats[i].type;
4e1899
             }