Commit Graph

14 Commits

Author SHA1 Message Date
blymn e5ce8316fe Fix some off by one errors in the menu mark and unmark buffer handling.
This fixes PR 18003.
2002-08-22 11:30:18 +00:00
blymn f645d021ce Allocate private string buffers for the menu mark and unmark to prevent
a double free of the string memory.  This fixes PR 17937.
2002-08-19 11:01:11 +00:00
blymn 09440e9036 Added new menu style O_RADIO which implements a radio button style
menu selection.  Thanks go to rtr(at)wasabisystems.com for doing
most of the work on this.
2002-07-29 13:03:51 +00:00
blymn ca4de2a444 * Fixed menu command constants so they no longer clash with
curses key symbols
* Fixed behaviour of the menu window handling.  The library no longer
  creates the subwindow or window which is correct behaviour as documented
  in the ETI library documentation.
2002-02-04 13:02:05 +00:00
wiz c03a48d64f withough -> without 2001-06-13 10:45:57 +00:00
itohy f9863c47b3 Correct ctype(3) usage.
Passing "char" value is wrong.  Use "unsigned char" instead.
2000-07-11 06:07:25 +00:00
blymn bb92002785 * Fixed possible unassigned variable problem. 2000-05-07 12:14:44 +00:00
blymn 5f001bd923 * Fixed off by one bug in scale menu
* Fixed bug in post_menu which created the subwin too small for the menu.
2000-05-05 11:28:56 +00:00
blymn 32a993af1e * Made all functions and prototypes ANSI style.
* Fixed problem with highlight bar on inverse menus.
* Fixed libmenu crashing when posting a menu without sub window set.
* Fixed man page glitches.
2000-04-20 12:17:57 +00:00
kleink 718fb4e493 RCS Id police (again!). 1999-12-22 14:38:12 +00:00
blymn b7466e4fd7 * Moved the contents of the EXPOSE_PRIVATES ifdef into internal.h and
killed the now empty ifdef in menu.h.  Also removed the define in
  the CFLAGS in Makefile.
* Renamed _menui_menu_hook to Menu_Hook for compatiability with
  ncurses.
* Renamed all internal functions to have _menui prefix instead of
  __menui
* Cleaned up some automatic function variable names that were
  shadowing function calls.
* Fixed email address in headers.
1999-12-16 12:08:06 +00:00
kleink 87bead520d * use <stdlib.h> instead of deprecated <malloc.h>
* replace <strings.h>/bcopy() with <string.h>/memcpy()
1999-11-30 15:58:16 +00:00
kleink 68f24b78f3 RCS Id police. 1999-11-24 12:43:15 +00:00
blymn b68c50bcbe A curses based menu library. 1999-11-23 11:12:34 +00:00