From fd02642ee0238ae2b32b7a5ea7005abf0e72489d Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Tue, 22 Nov 2005 11:31:28 +0000 Subject: Fixed truncated option strings for numeric settings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8043 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/option_select.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'apps/gui/option_select.h') diff --git a/apps/gui/option_select.h b/apps/gui/option_select.h index c6a5e19..f667993 100644 --- a/apps/gui/option_select.h +++ b/apps/gui/option_select.h @@ -77,7 +77,9 @@ extern void option_select_init_items(struct option_select * opt, * - buffer : a buffer to eventually format the option * Returns the selected option */ -extern const char * option_select_get_text(struct option_select * opt, char * buffer); +extern const char * option_select_get_text(struct option_select * opt, + char * buffer, + int buffersize); /* * Selects the next value -- cgit v1.1