From 4df4178899d4b1bcd67f9b902ae08756cc4db152 Mon Sep 17 00:00:00 2001
From: "Eric S. Raymond" <esr@thyrsus.com>
Date: Tue, 30 Jun 1998 16:12:37 +0000
Subject: Fix listboxd deletion.

svn path=/trunk/; revision=1953
---
 fetchmailconf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fetchmailconf b/fetchmailconf
index 7b829571..311c59e9 100755
--- a/fetchmailconf
+++ b/fetchmailconf
@@ -440,7 +440,7 @@ class ListEdit(Frame):
 	if not select:
 	    helpwin(listboxhelp)
 	else:
-	    index = select[0]
+	    index = string.atoi(select[0])
 	    if index:
 		self.listwidget.delete(index)
 		if self.list != None: del self.list[index]
-- 
cgit v1.2.3