]> git.ipfire.org Git - thirdparty/newt.git/commitdiff
bump to 0.37; make it agree with utf-8 slang (still needs wrapping work)
authornotting <notting>
Tue, 25 Jun 2002 04:40:41 +0000 (04:40 +0000)
committernotting <notting>
Tue, 25 Jun 2002 04:40:41 +0000 (04:40 +0000)
configure.in
newt.c
newt.spec

index bb6b85c9e8ceb433ec02943685e645b94fdd4b06..3f76bd1d1a1db3220040129c7b1913ef59922d4c 100644 (file)
@@ -5,7 +5,7 @@ AC_CONFIG_HEADER(config.h)
 
 VERSION=$(awk '/^%define version/ {print $3}' $srcdir/newt.spec)
 
-VERSION=0.50.36
+VERSION=0.50.37
 SONAME=0.50
 AC_SUBST(VERSION)
 AC_SUBST(SONAME)
diff --git a/newt.c b/newt.c
index ce0cae66c44b62c21adaa4265e2dee9060cad624..56b4e1aba0cb05d1d2c60f5c1f8bc09f141d488c 100644 (file)
--- a/newt.c
+++ b/newt.c
@@ -19,7 +19,7 @@
 
 struct Window {
     int height, width, top, left;
-    short * buffer;
+    SLsmg_Char_Type * buffer;
     char * title;
 };
 
@@ -402,7 +402,7 @@ int newtOpenWindow(int left, int top, int width, int height,
     currentWindow->height = height;
     currentWindow->title = title ? strdup(title) : NULL;
 
-    currentWindow->buffer = malloc(sizeof(short) * (width + 3) * (height + 3));
+    currentWindow->buffer = malloc(sizeof(SLsmg_Char_Type) * (width + 3) * (height + 3));
 
     row = top - 1;
     col = left - 1;
index 08add81b410078738fa8610a3519d31b20e7b8c2..7c273630e9ecc5482eded253dd3f914d867a27e1 100644 (file)
--- a/newt.spec
+++ b/newt.spec
@@ -1,6 +1,6 @@
 Summary: A development library for text mode user interfaces.
 Name: newt
-%define version 0.50.36
+%define version 0.50.37
 Version: %{version}
 Release: 1
 License: LGPL
@@ -81,6 +81,9 @@ rm -rf $RPM_BUILD_ROOT
 /usr/lib/libnewt.so
 
 %changelog
+* Mon Jun 24 2002 Bill Nottingham <notting@redhat.com> 0.50.37-1
+- minor tweaks for use with UTF-8 slang
+
 * Tue Jun 11 2002 Joe Orton <jorton@redhat.com> 0.50.36-1
 - add newtListboxGetItemCount() API call
 - include numeric percentage in scale widget appearace