Package: ircii
Version: 20051015-1
Followup-For: Bug #337406
Tags: patch

Attached patch works around this bug.
(If someone is reading this and the patch is not applied yet,
 doing a "/set input_prompt >" also helps a lot....)

Index: ircii/source/input.c
===================================================================
--- ircii.orig/source/input.c   2005-09-22 20:20:03.000000000 +0200
+++ ircii/source/input.c        2006-10-15 13:30:34.317460398 +0200
@@ -57,7 +57,7 @@
 #define WIDTH 10
 
 /* input_prompt: contains the current, unexpanded input prompt */
-static u_char  *input_prompt = (u_char *) 0;
+static u_char  *input_prompt = empty_string;
 
 static struct mb_data mbdata;
 static int mbdata_ok = 0;

Hochachtungsvoll,
        Bernhard R. Link
Index: ircii/source/input.c
===================================================================
--- ircii.orig/source/input.c   2005-09-22 20:20:03.000000000 +0200
+++ ircii/source/input.c        2006-10-15 13:30:34.317460398 +0200
@@ -57,7 +57,7 @@
 #define WIDTH 10
 
 /* input_prompt: contains the current, unexpanded input prompt */
-static u_char  *input_prompt = (u_char *) 0;
+static u_char  *input_prompt = empty_string;
 
 static struct mb_data mbdata;
 static int mbdata_ok = 0;

Reply via email to