[setup - the official Cygwin setup program] branch master, updated. release_2.905

Jon TURNEY via Cygwin-apps-cvs <[email protected]>
Newsgroups gmane.os.cygwin.cvs.apps
Message-ID <[email protected]>


https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/setup.git;h=30d0e66065db65f566c9372c53c5e85edc76bf6a

commit 30d0e66065db65f566c9372c53c5e85edc76bf6a
Author: Jon Turney <[email protected]>
Date:   Sat Jun 27 16:10:57 2020 +0100

    Properly record user_picked again
    
    Properly record user_picked again, which was broken by changes in 2.895


Diff:
---
 package_meta.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package_meta.cc b/package_meta.cc
index 121fc70d..61b7620b 100644
--- a/package_meta.cc
+++ b/package_meta.cc
@@ -455,7 +455,7 @@ packagemeta::select_action (int id, trusts const deftrust)
       for (int j = -id; j > 0; j--)
         i++;
 
-      set_action(Install_action, *i);
+      set_action(Install_action, *i, true);
     }
   else
     {
@@ -483,7 +483,7 @@ packagemeta::toggle_action ()
         if (!packagedb::solver.is_test_package(*i))
           naively_preferred = *i;
 
-      set_action(Install_action, naively_preferred);
+      set_action(Install_action, naively_preferred, true);
     }
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.