From: notting Date: Tue, 25 Jun 2002 04:40:41 +0000 (+0000) Subject: bump to 0.37; make it agree with utf-8 slang (still needs wrapping work) X-Git-Tag: r0-50-37~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a1d8e87022af1c5d59d634808e62edd012c2ea4;p=thirdparty%2Fnewt.git bump to 0.37; make it agree with utf-8 slang (still needs wrapping work) --- diff --git a/configure.in b/configure.in index bb6b85c..3f76bd1 100644 --- a/configure.in +++ b/configure.in @@ -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 ce0cae6..56b4e1a 100644 --- 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; diff --git a/newt.spec b/newt.spec index 08add81..7c27363 100644 --- 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 0.50.37-1 +- minor tweaks for use with UTF-8 slang + * Tue Jun 11 2002 Joe Orton 0.50.36-1 - add newtListboxGetItemCount() API call - include numeric percentage in scale widget appearace