summaryrefslogtreecommitdiff
path: root/multilib/lib32-ncurses/set_field_buffer.patch
blob: a2132043eaba626c0484121000da9ca83afff1b9 (plain)
1
2
3
4
5
6
7
8
9
--- src/ncurses-5.7/form/frm_driver.c        2008/10/18 16:25:00     1.88 
+++ src/ncurses-5.7/form/frm_driver.c        2008/12/06 23:08:12 
@@ -4366,6 +4366,7 @@ 
       delwin(field->working);
       field->working = newpad(field->drows, field->dcols);
     }
+  len = Buffer_Length(field); 
   wclear(field->working);
   mvwaddstr(field->working, 0, 0, value);