Fix yellows.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22271 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Martitz 2009-08-12 14:51:16 +00:00
parent 3290f1f025
commit 50d09bd84c
2 changed files with 4 additions and 2 deletions

View file

@ -32,6 +32,7 @@
#include "rbunicode.h"
#include "lang.h"
#include "keyboard.h"
#include "splash.h"
#define KBD_BUF_SIZE 64
#define KEYBOARD_PAGES 3
@ -112,7 +113,7 @@ int kbd_input(char* text, int buflen)
unsigned char *utf8;
int button, lastbutton = 0;
int ret;
int ret = 0; /* assume success */
editpos = utf8length(text);

View file

@ -38,6 +38,7 @@
#include "keyboard.h"
#include "viewport.h"
#include "file.h"
#include "splash.h"
#ifndef O_BINARY
#define O_BINARY 0
@ -297,7 +298,7 @@ int kbd_input(char* text, int buflen)
unsigned short ch;
unsigned char *utf8;
bool cur_blink = true; /* Cursor on/off flag */
int ret;
int ret = 0; /* assume success */
#ifdef KBD_MORSE_INPUT
bool morse_reading = false;
unsigned char morse_code = 0;