aboutsummaryrefslogtreecommitdiff
path: root/nexgb/xv/xv.go
diff options
context:
space:
mode:
Diffstat (limited to 'nexgb/xv/xv.go')
-rw-r--r--nexgb/xv/xv.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/nexgb/xv/xv.go b/nexgb/xv/xv.go
index 5eefe77..d79a594 100644
--- a/nexgb/xv/xv.go
+++ b/nexgb/xv/xv.go
@@ -458,7 +458,7 @@ func (v EncodingInfo) Bytes() []byte {
{
structBytes := v.Rate.Bytes()
copy(buf[b:], structBytes)
- b += xgb.Pad(len(structBytes))
+ b += len(structBytes)
}
copy(buf[b:], v.Name[:v.NameSize])