]> git.wh0rd.org Git - nano.git/commitdiff
in do_writeout(), remove unneeded setting of currshortcut
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Fri, 24 Feb 2006 19:38:20 +0000 (19:38 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Fri, 24 Feb 2006 19:38:20 +0000 (19:38 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3297 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
src/files.c

index 0465437c1547a06b3154a1c990d130a385c12677..192dfd3607eed2d120a21b242a1b46c7b314acaa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -37,6 +37,8 @@ CVS code -
   mbstrchr()
        - Make parameter c const. (DLR)
 - files.c:
+  do_writeout()
+       - Remove unneeded setting of currshortcut. (DLR)
   is_dir()
        - Rename parameter ret to retval, for consistency. (DLR)
 - global.c:
index 127053c5a3329f054edad4549be086687ee78b6f..f5be6061a865030644307a1512f69a87dfeb7c4e 100644 (file)
@@ -1782,8 +1782,6 @@ int do_writeout(bool exiting)
            if (i == NANO_TOFILES_KEY) {
                char *tmp = do_browse_from(answer);
 
-               currshortcut = writefile_list;
-
                if (tmp == NULL)
                    continue;