From 18e40e0f4c45bf204571e548347e23b1bb5b4afd Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Wed, 12 Aug 2009 14:38:25 +0000 Subject: Make kbd_input() show a cancel splash to indicate user abort better and for better consistency all over the place. Change checking for its return value (style-wise) at some places too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22269 a1c6a512-1295-4272-9138-f99709370657 --- docs/PLUGIN_API | 2 +- docs/PLUGIN_API.new | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/PLUGIN_API b/docs/PLUGIN_API index feba086..0498c0f 100644 --- a/docs/PLUGIN_API +++ b/docs/PLUGIN_API @@ -739,7 +739,7 @@ Misc int kbd_input(char *buffer, int buflen); Prompt for a string to be stored in buffer which is of length buflen. - Return FALSE upon success. + Return 0 upon success, negative on failure. struct tm *get_time(void); diff --git a/docs/PLUGIN_API.new b/docs/PLUGIN_API.new index d54d7a1..876af37 100644 --- a/docs/PLUGIN_API.new +++ b/docs/PLUGIN_API.new @@ -851,7 +851,7 @@ int kbd_input(char* buffer, int buflen) \group misc \param buffer \param buflen - \return FALSE upon success + \return 0 upon success, negative upon failure \description Prompt for a string to be stored in =buffer= which is of length =buflen= void lcd_bitmap(const fb_data *src, int x, int y, int width, int height) -- cgit v1.1