Add missing word count

This commit is contained in:
Devon Govett 2014-02-19 12:02:53 -08:00
parent 55ffe97f03
commit 8139b4fa30

View File

@ -170,7 +170,9 @@ class LineWrapper extends EventEmitter
if w > @spaceLeft
buffer = word
textWidth = w
wc = 1
emitLine()
@spaceLeft = @lineWidth
buffer = ''
textWidth = 0