commit d2e1585b5434c74ac2ca6f5a7d43dcd326b4cc16
parent 9762bea492d4b3b975a7354d19118fa886f89ff9
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date: Tue, 5 Jun 2007 00:42:33 +0000
bugfix: spurious nil pointer in textfield
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@435 5c8cc53c-5e98-4d25-b20a-d8db53a31250
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/sup/textfield.rb b/lib/sup/textfield.rb
@@ -75,7 +75,7 @@ class TextField
c
end
- Ncurses::Form.form_driver @form, d
+ Ncurses::Form.form_driver @form, d if d
Ncurses.refresh
true