From e2f5c3f9b5ab5a89e5ccb756d984da709b947c2d Mon Sep 17 00:00:00 2001 From: Martin Schaffner Date: Tue, 25 Jan 2005 19:40:04 +0000 Subject: [PATCH] make ui_barbox_update return void --- ChangeLog | 1 + include/ui.h | 2 +- ui/barbox.c | 6 +++--- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index bf2f6132..7e1e27a3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,7 @@ * main/editor/medwall.c: use wall_close_door_num, not wall_close_door * main/editor/medwall.c: include cntrlcen.h * ui/barbox.c, ui/number.c: pass int*, not short* to gr_get_string_size + * include/ui.h, ui/barbox.c: make ui_barbox_update return void 2005-01-24 Chris Taylor diff --git a/include/ui.h b/include/ui.h index c2858b96..6791da4f 100644 --- a/include/ui.h +++ b/include/ui.h @@ -388,7 +388,7 @@ void ui_pad_read( int n, char * filename ); int ui_pad_get_current(); void ui_barbox_open( char * text, int length ); -int ui_barbox_update( int position ); +void ui_barbox_update( int position ); void ui_barbox_close(); void ui_reset_idle_seconds(void); diff --git a/ui/barbox.c b/ui/barbox.c index e917993d..90aebc07 100644 --- a/ui/barbox.c +++ b/ui/barbox.c @@ -1,4 +1,4 @@ -/* $Id: barbox.c,v 1.5 2005-01-25 19:37:59 schaffner Exp $ */ +/* $Id: barbox.c,v 1.6 2005-01-25 19:40:04 schaffner Exp $ */ /* THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO @@ -13,7 +13,7 @@ COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED. */ #ifdef RCS -static char rcsid[] = "$Id: barbox.c,v 1.5 2005-01-25 19:37:59 schaffner Exp $"; +static char rcsid[] = "$Id: barbox.c,v 1.6 2005-01-25 19:40:04 schaffner Exp $"; #endif #ifdef HAVE_CONFIG_H @@ -92,7 +92,7 @@ void ui_barbox_open( char * text, int length ) } -int ui_barbox_update( int position ) +void ui_barbox_update( int position ) { int spos; -- 2.39.2