about summary refs log tree commit diff stats
path: root/text.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-05-28 22:24:17 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-05-28 22:24:17 -0700
commit10c1a70dd0b57aab9e181546ac41b9909e407b32 (patch)
tree0b93a24b673c66abc3c0cff38275884c033f8ce9 /text.lua
parent916e4ce3417294f688aebf307813746e03f22da8 (diff)
downloadtext.love-10c1a70dd0b57aab9e181546ac41b9909e407b32.tar.gz
.
Diffstat (limited to 'text.lua')
-rw-r--r--text.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/text.lua b/text.lua
index 57d7e46..c2d36b9 100644
--- a/text.lua
+++ b/text.lua
@@ -25,7 +25,7 @@ function Text.draw(line, line_width, line_index)
     local frag, frag_text = f.data, f.text
     -- render fragment
     local frag_width = math.floor(App.width(frag_text)*Zoom)
-    local s=tostring
+--?     local s=tostring
 --?     print('('..s(x)..','..s(y)..') '..frag..'('..s(frag_width)..' vs '..s(line_width)..') '..s(line_index)..' vs '..s(Screen_top1.line)..'; '..s(pos)..' vs '..s(Screen_top1.pos)..'; bottom: '..s(Screen_bottom1.line)..'/'..s(Screen_bottom1.pos))
     if x + frag_width > line_width then
       assert(x > 25)  -- no overfull lines