[Spice-devel] [[linux vdagent PATCH]] clipboard target_to_type: fix inner loop variable name

Christophe Fergeau cfergeau at redhat.com
Fri Nov 29 06:25:43 PST 2013


ACK

On Fri, Nov 29, 2013 at 04:18:08PM +0200, Uri Lublin wrote:
> ---
>  src/vdagent-x11.c |    2 +-
>  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;
>              }
> -- 
> 1.7.1
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20131129/0615f514/attachment.pgp>


More information about the Spice-devel mailing list