]> Pileus Git - ~andy/fetchmail/commitdiff
Fix fetchmailconf.
authorEric S. Raymond <esr@thyrsus.com>
Mon, 24 Aug 1998 17:22:47 +0000 (17:22 -0000)
committerEric S. Raymond <esr@thyrsus.com>
Mon, 24 Aug 1998 17:22:47 +0000 (17:22 -0000)
svn path=/trunk/; revision=2049

NEWS
fetchmailconf

diff --git a/NEWS b/NEWS
index fc461bfe211597bbea7e232683eeed9a28b7fdba..5f318ec1f1b01b6e0d3817367e210cef3a9b1c78 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,7 @@ fetchmail-4.5.6 ():
 * SDPS support, experimental version 2.  Requires configure --enable-SDPS.
 * Major FAQ update.  Added geocities warning.
 * Fix --configdump so embedded single and double quotes are handled.
+* Fix fetchmailconf that prevented deletion of first items in lists.
 
 There are 254 people on fetchmail-friends and 267 on fetchmail-announce.
 
index 574c619887f9e38206a5de42622451f847147591..e604300010f7637123801b9721ef0d55db3a19ad 100755 (executable)
@@ -7,7 +7,7 @@
 #
 # TO DO: Arrange for save and quit buttons to clean up all frames dependent
 # on the current ones.
-version = "1.2"
+version = "1.3"
 
 from Tkinter import *
 from Dialog import *
@@ -444,10 +444,9 @@ class ListEdit(Frame):
        if not select:
            helpwin(listboxhelp)
        else:
-           index = string.atoi(select[0])
-           if index:
-               self.listwidget.delete(index)
-               if self.list != None: del self.list[index]
+            index = string.atoi(select[0])
+            self.listwidget.delete(index)
+            if self.list != None: del self.list[index]
 
 def ConfirmQuit(frame, context):
     ans = Dialog(frame,