summaryrefslogtreecommitdiff
path: root/apps/gui/option_select.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-11-22 11:31:28 +0000
committerJens Arnold <amiconn@rockbox.org>2005-11-22 11:31:28 +0000
commitfd02642ee0238ae2b32b7a5ea7005abf0e72489d (patch)
tree9e1b3eb683698210e439fb3867b0709d6f1bb03a /apps/gui/option_select.h
parentbe15957c247acf928ebb07f2bc327fffa6a34baa (diff)
downloadrockbox-fd02642ee0238ae2b32b7a5ea7005abf0e72489d.zip
rockbox-fd02642ee0238ae2b32b7a5ea7005abf0e72489d.tar.gz
rockbox-fd02642ee0238ae2b32b7a5ea7005abf0e72489d.tar.bz2
rockbox-fd02642ee0238ae2b32b7a5ea7005abf0e72489d.tar.xz
Fixed truncated option strings for numeric settings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8043 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/option_select.h')
-rw-r--r--apps/gui/option_select.h4
1 files changed, 3 insertions, 1 deletions
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