Skip to content

Commit

Permalink
Merge pull request #1 from adiron/master
Browse files Browse the repository at this point in the history
Fixed wrapping long words not working.
  • Loading branch information
markandgo committed Aug 13, 2013
2 parents d82d132 + cfbc621 commit a50e3a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions texthelper.lua
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ function createRowStrings(self,str,taghandlers)
piecewidth = font:getWidth(piecechunk)
end
local chunkObj = chunkClass(piecechunk, font, piecewidth, piecelen)
insert(chunkPieces,chunkObj)
table.insert(chunkPieces,chunkObj)

insertRow(chunkPieces,grid,rowcount)

Expand Down Expand Up @@ -380,4 +380,4 @@ function setAlignment(self,t,totalwidth,align,subalign)
end
end

return env
return env

0 comments on commit a50e3a1

Please sign in to comment.