]> git.wh0rd.org Git - nano.git/commitdiff
Fixes faiure of display to update in do_insertfile
authorRobert Siemborski <rjs3@andrew.cmu.edu>
Sun, 18 Jun 2000 01:05:00 +0000 (01:05 +0000)
committerRobert Siemborski <rjs3@andrew.cmu.edu>
Sun, 18 Jun 2000 01:05:00 +0000 (01:05 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@25 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
nano.c

index 35e3c249eccfccd1a81b7505d9285fbcc0658394..6f069e1ec3fa1948bbfd96030e245d2059a381c2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,6 +12,9 @@ since last release (CVS Only) - 06/06/2000
        - experimental do_wrap and check_wrap (Adam Rogoyski)
   do_enter():
         - Added reset of placewewant to end.
+  do_insertfile():
+       - Fix display problem when using ctrl-r to load a file
+         into the buffer (Rob Siemborski)
 
 nano-0.9.10 - 06/04/2000
 - es.po:
diff --git a/nano.c b/nano.c
index 48e2c9f35abe32dceca0ff3651d9a7b2914751b3..84eaef025f7ef48e13a60a19121a0b2437609cfe 100644 (file)
--- a/nano.c
+++ b/nano.c
@@ -540,6 +540,7 @@ int do_insertfile(void)
 
        dump_buffer(fileage);
        set_modified();
+       edit_update(current);
        UNSET(KEEP_CUTBUFFER);
        display_main_list();
        return i;