diff --git a/src/uifc/uifc32.c b/src/uifc/uifc32.c
index 7d572405454791ff1902448a8f580f8b756869b4..c8738352ece2020875be5f1ea05820a9d149ae4d 100644
--- a/src/uifc/uifc32.c
+++ b/src/uifc/uifc32.c
@@ -174,7 +174,7 @@ int uifcini32(uifcapi_t* uifcapi)
 		api->esc_delay=25;
 
 	if(cio_api.ESCDELAY)
-		ESCDELAY=api->esc_delay;
+		cio_api.ESCDELAY=api->esc_delay;
 
     if(api->scrn_len!=0) {
         switch(api->scrn_len) {