1 diff -u Newt-1.08/newtlib/newt.c Newt-1.08/newtlib/newt.c
2 --- Newt-1.08/newtlib/newt.c 2006-04-09 15:02:27.000000000 +0200
3 +++ Newt-1.08/newtlib/newt.c 2006-04-09 14:50:12.000000000 +0200
7 int height, width, top, left;
9 + SLsmg_Char_Type * buffer;
14 currentWindow->height = height;
15 currentWindow->title = title ? strdup(title) : NULL;
17 - currentWindow->buffer = malloc(sizeof(short) * (width + 3) * (height + 3));
18 + currentWindow->buffer = malloc(sizeof(SLsmg_Char_Type) * (width + 3) * (height + 3));