[tekui-devel] tekui: typo from last checkin; fixed

Timm S. Mueller tmueller at neoscientists.org
Sat Mar 29 05:06:25 CET 2008


details:   http://hg.teklib.org/tekui/rev/d716e201118d
changeset: 381:d716e201118d
user:      Timm S. Mueller <tmueller at neoscientists.org>
date:      Mon Mar 24 03:37:33 2008 +0100
description:
typo from last checkin; fixed

diffs (12 lines):

diff -r 08d144a9f538 -r d716e201118d tek/class/ui/textinput.lua
--- a/tek/class/ui/textinput.lua	Mon Mar 24 03:34:56 2008 +0100
+++ b/tek/class/ui/textinput.lua	Mon Mar 24 03:37:33 2008 +0100
@@ -181,7 +181,7 @@ function TextInput:draw()
 	-- visible text rect, left aligned:
 	self.trect[1] = r[1] + p1 -- centered: + (w - tw) / 2
 	self.trect[2] = r[2] + p2 + floor((h - fh) / 2)
-	self.trect[3] = ct[1] + tw - 1
+	self.trect[3] = self.trect[1] + tw - 1
 	self.trect[4] = self.trect[2] + fh - 1
 
 	-- visible text:


More information about the tekui-devel mailing list