[PATCH] dsound: Trace ref in a consistent way

Andrew Eikum aeikum at codeweavers.com
Thu Jan 10 08:59:45 CST 2019


On Thu, Jan 10, 2019 at 02:53:59AM +0000, Alistair Leslie-Hughes wrote:
> @@ -1254,7 +1254,7 @@ static ULONG WINAPI IKsPropertySetImpl_Release(IKsPropertySet *iface)
>          ref = capped_refcount_dec(&This->refiks);
>          if(!ref)
>              capped_refcount_dec(&This->numIfaces);
> -        TRACE("(%p) ref is now: %d\n", This, ref);
> +        TRACE("(%p) ref: %d\n", This, ref);
>          return ref;
>      }
>  
> @@ -1262,7 +1262,7 @@ static ULONG WINAPI IKsPropertySetImpl_Release(IKsPropertySet *iface)
>      if (!ref && !InterlockedDecrement(&This->numIfaces))
>          secondarybuffer_destroy(This);
>  
> -    TRACE("(%p) ref is now %d\n", This, ref);
> +    TRACE("(%p) ref %d\n", This, ref);
>  
>      return ref;
>  }

I'm fine with this, but while you're at it, you may as well make the
colon usage consistent, too.

Andrew



More information about the wine-devel mailing list