diff --git a/engine/client/vgui/vgui_draw.c b/engine/client/vgui/vgui_draw.c index 8ae08584..a1b3fe9f 100644 --- a/engine/client/vgui/vgui_draw.c +++ b/engine/client/vgui/vgui_draw.c @@ -63,7 +63,7 @@ static struct VGUI_CursorSelect, VGUI_GetColor, VGUI_IsInGame, - NULL, + Key_EnableTextInput, VGUI_GetMousePos, VGUI_UtfProcessChar, Platform_GetClipboardText, diff --git a/engine/vgui_api.h b/engine/vgui_api.h index 2ce89226..2412d76d 100644 --- a/engine/vgui_api.h +++ b/engine/vgui_api.h @@ -180,7 +180,7 @@ typedef struct vguiapi_s void (*CursorSelect)( VGUI_DefaultCursor cursor ); byte (*GetColor)( int i, int j ); qboolean (*IsInGame)( void ); - void (*Unused)( void ); + void (*EnableTextInput)( qboolean enable, qboolean force ); void (*GetCursorPos)( int *x, int *y ); int (*ProcessUtfChar)( int ch ); int (*GetClipboardText)( char *buffer, size_t bufferSize );