[patch #6247] Goto Line #0



URL:
  <http://savannah.gnu.org/patch/?6247>

                 Summary: Goto Line #0
                 Project: GNU Midnight Commander
            Submitted by: a_borodin
            Submitted on: Понедельник 29.10.2007 at 07:10
                Category: Editor
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Input line in "Goto line" dialog is initialized by any value but 0. In the
meantime, the "Goto line #0" command is processed just as "Goto line #1" one.
So, I think that the line number 0 should be enabled. Patch, which provides
that, is attached.

Changelog:

* editcmd.c (edit_goto_cmd): Allow init the input line
of "Goto line" dialog by 0 value.
(edit_goto_cmd): Small optimization of allocated buffer freeing.





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Понедельник 29.10.2007 at 07:10  Name:
mc-20071027-edit-goto_line.patch  Size: 720B   By: a_borodin

<http://savannah.gnu.org/patch/download.php?file_id=14239>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?6247>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]