From 18e7f0ee2d6146dd94efccd954b268a07b2ac43e Mon Sep 17 00:00:00 2001
From: 256nil <driftolost@gmail.com>
Date: Tue, 20 Feb 2024 18:08:57 +0200
Subject: [PATCH] Fix #1188

---
 src/console.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/console.c b/src/console.c
index 0d296ca741..b8571543aa 100644
--- a/src/console.c
+++ b/src/console.c
@@ -882,12 +882,6 @@ static void CON_InputDelSelection(void)
 
 	Lock_state();
 
-	if (!input_cur)
-	{
-		Unlock_state();
-		return;
-	}
-
 	if (input_cur > input_sel)
 	{
 		start = input_sel;
-- 
GitLab