From 9590c5b639ac7bf54c6f4699ba0c3d1deca343df Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Wed, 12 Oct 2005 20:21:53 +0000
Subject: [PATCH] Use UI-specific wscroll() if it's *NOT* NULL.

---
 src/conio/ciolib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/conio/ciolib.c b/src/conio/ciolib.c
index b7e5bdcda5..ac5541f8eb 100644
--- a/src/conio/ciolib.c
+++ b/src/conio/ciolib.c
@@ -544,7 +544,7 @@ void ciolib_wscroll(void)
 
 	CIOLIB_INIT();
 
-	if(cio_api.wscroll==NULL) {
+	if(cio_api.wscroll!=NULL) {
 		cio_api.wscroll();
 		return;
 	}
-- 
GitLab