From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 51544 invoked by alias); 5 Dec 2017 15:51:04 -0000 Mailing-List: contact cygwin-apps-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cygwin-apps-cvs-owner@sourceware.org Received: (qmail 51523 invoked by uid 9996); 5 Dec 2017 15:51:04 -0000 Date: Tue, 05 Dec 2017 15:51:00 -0000 Message-ID: <20171205155104.51496.qmail@sourceware.org> From: kbrown@sourceware.org To: cygwin-apps-cvs@sourceware.org Subject: [setup - the official Cygwin setup program] branch master, updated. release_2.882-15-gc385393 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 7a80c6d26e85f056427cadf57d6150b0f9564aef X-Git-Newrev: c3853939020aeb5bfc5b4995cd604da4ce3f72cc X-SW-Source: 2017-q4/txt/msg00043.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/setup.git;h=c3853939020aeb5bfc5b4995cd604da4ce3f72cc commit c3853939020aeb5bfc5b4995cd604da4ce3f72cc Author: Ken Brown Date: Mon Dec 4 10:53:55 2017 -0500 Make Enter in the user URL box cause ADD instead of NEXT Diff: --- site.cc | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/site.cc b/site.cc index 230d82c..a945d28 100644 --- a/site.cc +++ b/site.cc @@ -679,7 +679,9 @@ bool SitePage::OnMessageCmd (int id, HWND hwndctl, UINT code) { case IDC_EDIT_USER_URL: { - // FIXME: Make Enter here cause an ADD, not a NEXT. + // Set the default pushbutton to ADD if the user is entering text. + if (code == EN_CHANGE) + SendMessage (GetHWND (), DM_SETDEFID, (WPARAM) IDC_BUTTON_ADD_URL, 0); break; } case IDC_URL_LIST: