From 835c654bb0089933c5dd85a8ca123581cda1169e Mon Sep 17 00:00:00 2001 From: diego Date: Thu, 14 Feb 2008 14:23:55 +0000 Subject: typo fix: inited --> initialized git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25994 b3059339-0415-0410-9bf9-f77b7e298cf2 --- input/joystick.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'input/joystick.c') diff --git a/input/joystick.c b/input/joystick.c index 312cd90f4d..0fb2c041ed 100644 --- a/input/joystick.c +++ b/input/joystick.c @@ -33,7 +33,7 @@ int btns = 0; int mp_input_joystick_init(char* dev) { int fd,l=0; - int inited = 0; + int initialized = 0; struct js_event ev; mp_msg(MSGT_INPUT,MSGL_V,MSGTR_INPUT_JOYSTICK_Opening,dev ? dev : JS_DEV); @@ -44,7 +44,7 @@ int mp_input_joystick_init(char* dev) { return -1; } - while(! inited) { + while(! initialized) { l = 0; while((unsigned int)l < sizeof(struct js_event)) { int r = read(fd,((char*)&ev)+l,sizeof(struct js_event)-l); @@ -52,7 +52,7 @@ int mp_input_joystick_init(char* dev) { if(errno == EINTR) continue; else if(errno == EAGAIN) { - inited = 1; + initialized = 1; break; } mp_msg(MSGT_INPUT,MSGL_ERR,MSGTR_INPUT_JOYSTICK_ErrReading,strerror(errno)); -- cgit v1.2.3