diff options
Diffstat (limited to 'nexgb/res')
| -rw-r--r-- | nexgb/res/res.go | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/nexgb/res/res.go b/nexgb/res/res.go index 43480ec..59a416a 100644 --- a/nexgb/res/res.go +++ b/nexgb/res/res.go @@ -194,7 +194,7 @@ func (v ClientIdValue) Bytes() []byte {  	{  		structBytes := v.Spec.Bytes()  		copy(buf[b:], structBytes) -		b += xgb.Pad(len(structBytes)) +		b += len(structBytes)  	}  	xgb.Put32(buf[b:], v.Length) @@ -328,7 +328,7 @@ func (v ResourceSizeSpec) Bytes() []byte {  	{  		structBytes := v.Spec.Bytes()  		copy(buf[b:], structBytes) -		b += xgb.Pad(len(structBytes)) +		b += len(structBytes)  	}  	xgb.Put32(buf[b:], v.Bytes) @@ -395,7 +395,7 @@ func (v ResourceSizeValue) Bytes() []byte {  	{  		structBytes := v.Size.Bytes()  		copy(buf[b:], structBytes) -		b += xgb.Pad(len(structBytes)) +		b += len(structBytes)  	}  	xgb.Put32(buf[b:], v.NumCrossReferences) | 
