summaryrefslogtreecommitdiffstats
path: root/vendor/golang.org/x/text/internal/catmsg/codec.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/golang.org/x/text/internal/catmsg/codec.go')
-rw-r--r--[-rwxr-xr-x]vendor/golang.org/x/text/internal/catmsg/codec.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/golang.org/x/text/internal/catmsg/codec.go b/vendor/golang.org/x/text/internal/catmsg/codec.go
index ab587f856..49c9fc978 100755..100644
--- a/vendor/golang.org/x/text/internal/catmsg/codec.go
+++ b/vendor/golang.org/x/text/internal/catmsg/codec.go
@@ -169,7 +169,7 @@ func (e *Encoder) addVar(key string, m Message) error {
case err == ErrIncomplete:
if Handle(e.buf[0]) != msgFirst {
seq := &Encoder{root: e.root, parent: e}
- seq.EncodeMessageType(First)
+ seq.EncodeMessageType(msgFirst)
e.flushTo(seq)
e = seq
}