]> git.pld-linux.org Git - packages/newt.git/blame - newt-textbox.patch
- updated to 0.52.10
[packages/newt.git] / newt-textbox.patch
CommitLineData
8aadbab2 1diff -Nur newt-0.50.5.ORIG/textbox.c newt-0.50.5/textbox.c
2--- newt-0.50.5.ORIG/textbox.c Sun Oct 22 15:17:17 2000
3+++ newt-0.50.5/textbox.c Sun Oct 22 15:19:39 2000
4@@ -332,7 +332,12 @@
5
6 for (i = 0; (i + tb->topLine) < tb->numLines && i < c->height; i++) {
7 newtGotorc(c->top + i, c->left);
8- SLsmg_write_string(tb->lines[i + tb->topLine]);
9+ SLsmg_write_nstring(tb->lines[i + tb->topLine], c->width);
10+ }
11+
12+ for ( ; i < c->height; i++) {
13+ newtGotorc (c->top + i, c->left);
14+ SLsmg_write_nstring (" ", c->width);
15 }
16 }
17
This page took 0.06669 seconds and 4 git commands to generate.