diff --git a/present/present_notify.c b/present/present_notify.c index 7d19d9cfe..fe84d1f07 100644 --- a/present/present_notify.c +++ b/present/present_notify.c @@ -92,7 +92,7 @@ present_create_notifies(ClientPtr client, int num_notifies, xPresentNotify *x_no if (status != Success) goto bail; - added = i; + added++; } return Success;