--- old/libHtmlForm-1.0.0.php.asc	Sat Nov 25 09:06:00 2000
+++ libHtmlForm-1.0.1.php.asc	Sat Apr 28 18:30:28 2001
@@ -6,7 +6,7 @@
     http://www.jeremybrand.com/Jeremy/Brand/Jeremy_Brand.html
 
     libHtmlForm for PHP.
-    Release 1.0.0
+    Release 1.0.1
     http://www.nirvani.net/software/
 
     This program is free software; you can redistribute it and/or modify
@@ -23,6 +23,8 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
+    ChangeLog:
+    1.0.1 -> Brian Wood <brian@earth.care2.com> change in html_input_text().
     
     Prototypes:
     
@@ -96,7 +98,7 @@
       function html_input_text($name, $value='', $size=20, $maxlength=100)
       {
         if ($size > $maxlength)
-          $size = $maxlength;
+          ($maxlength <=0) ? $maxlength = $size : $size = $maxlength;
         if (strlen($value) > $maxlength)
           $value = substr($value, 0, $maxlength);
         $buf = '<input type="text" name="' .htmlspecialchars($name). '" value="' .htmlspecialchars($value). '" size="' .$size. '" maxlength="' .$maxlength. '">';
