[Cmake-commits] CMake branch, next, updated. v2.8.10.1-874-gf081138

Brad King brad.king at kitware.com
Tue Nov 13 13:46:41 EST 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  f0811381860ab58ced628256f65db185bcbdf1a4 (commit)
       via  d424de48dc3e653c5b15138d1b5e58b948b48945 (commit)
      from  ea76f0a7aba95a52bf13943af70c814afc88adf1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f0811381860ab58ced628256f65db185bcbdf1a4
commit f0811381860ab58ced628256f65db185bcbdf1a4
Merge: ea76f0a d424de4
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Tue Nov 13 13:46:40 2012 -0500
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Tue Nov 13 13:46:40 2012 -0500

    Merge topic 'fix-13604-ccmake-del-key' into next
    
    d424de4 ccmake: Allow DEL key in first column


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d424de48dc3e653c5b15138d1b5e58b948b48945
commit d424de48dc3e653c5b15138d1b5e58b948b48945
Author:     Matthew Woehlke <matthew.woehlke at kitware.com>
AuthorDate: Wed Oct 24 14:46:46 2012 -0400
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Tue Nov 13 13:44:33 2012 -0500

    ccmake: Allow DEL key in first column
    
    Change test if DEL key is allowed from 'curcol > 0' to 'curcol >= 0', as
    deleting forward is reasonable in the first column (and probably
    expected by users to work).
    
    Support for DEL was first added in commit b3b43508 (BUG: fix for 6462,
    delete key should delete the current char, 2008-08-19).  The commit
    appears to have copied the original logic from the backspace code so the
    old 'curcol > 0' logic was accidental rather than intentional.

diff --git a/Source/CursesDialog/cmCursesStringWidget.cxx b/Source/CursesDialog/cmCursesStringWidget.cxx
index 5c7414f..bd1ff71 100644
--- a/Source/CursesDialog/cmCursesStringWidget.cxx
+++ b/Source/CursesDialog/cmCursesStringWidget.cxx
@@ -175,7 +175,7 @@ bool cmCursesStringWidget::HandleInput(int& key, cmCursesMainForm* fm,
       }
     else if ( key == ctrl('d') ||key == KEY_DC )
       {
-      if ( form->curcol > 0 )
+      if ( form->curcol >= 0 )
         {
         form_driver(form, REQ_DEL_CHAR);
         }

-----------------------------------------------------------------------

Summary of changes:


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list