updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-newt / newt-1.08-slang-2.patch
blobe2f8c086021b2cdb55f28100db0e888a948ff4d7
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
4 @@ -13,7 +13,7 @@
6 struct Window {
7 int height, width, top, left;
8 - short * buffer;
9 + SLsmg_Char_Type * buffer;
10 char * title;
13 @@ -375,7 +375,7 @@
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));
20 row = top - 1;
21 col = left - 1;