* src/addr_compl.c
authorAlfons Hoogervorst <alfons@proteus.demon.nl>
Tue, 6 Apr 2004 19:35:14 +0000 (19:35 +0000)
committerAlfons Hoogervorst <alfons@proteus.demon.nl>
Tue, 6 Apr 2004 19:35:14 +0000 (19:35 +0000)
use cursor position to prevent clearing the entire entry

ChangeLog.claws
configure.ac
src/addr_compl.c

index 858d9b4..a1878f0 100644 (file)
@@ -1,3 +1,8 @@
+2004-04-06 [alfons]    0.9.10claws42
+
+       * src/addr_compl.c
+               use cursor position to prevent clearing the entire entry
+
 2004-04-06 [alfons]    0.9.10claws41
 
        * src/folderview.c
index c4b68bd..8d67902 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=10
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=41
+EXTRA_VERSION=42
 if test $EXTRA_VERSION -eq 0; then
     VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws
 else
index d549e3c..c12950d 100644 (file)
@@ -1099,7 +1099,7 @@ static gboolean address_completion_complete_address_in_entry(GtkEntry *entry,
                gchar *addr = get_complete_address(1);
 
                if (addr) {
-                       replace_address_in_edit(entry, addr, 0);
+                       replace_address_in_edit(entry, addr, cursor_pos);
                        g_free(addr);
                }