git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9695
d7cf8633-e32d-0410-b094-
e92efae38249
//
long keysym2ucs(KeySym keysym);
-int DP_Xutf8LookupString(XKeyEvent * ev,
+void DP_Xutf8LookupString(XKeyEvent * ev,
Uchar *uch,
KeySym * keysym_return,
Status * status_return)
int rc;
KeySym keysym;
int codepoint;
- int len;
char buffer[64];
int nbytes = sizeof(buffer);
*status_return = XLookupKeySym;
*keysym_return = keysym;
}
- return 0;
+ return;
}
*uch = codepoint;
} else {
*status_return = XLookupChars;
}
- return len;
}
static int XLateKey(XKeyEvent *ev, Uchar *ascii)
{