mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
2.0 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/base/dialog/menubox-4-2.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. --- ./menubox.c.orig 2003-03-08 18:40:50.000000000 +0200
  20. +++ ./menubox.c 2003-06-28 19:33:18.000000000 +0300
  21. @@ -77,14 +77,14 @@
  22. /* Draw the input field box (only for inputmenu) */
  23. (void) wmove(win, y + 1, item_x);
  24. if (dialog_vars.input_menu)
  25. - draw_box(win, y, item_x, INPUT_ROWS, menu_width - 2 - item_x - tag_x,
  26. + draw_box(win, y, item_x, INPUT_ROWS, menu_width - item_x - tag_x,
  27. selected ? item_selected_attr : item_attr,
  28. selected ? item_selected_attr : item_attr);
  29. /* print actual item */
  30. wmove(win, y + 1, item_x + 1); /* go into inputbox */
  31. wattrset(win, selected ? item_selected_attr : item_attr);
  32. - dlg_print_text(win, ItemText(0), menu_width - 2 - item_x - 2, &attr);
  33. + dlg_print_text(win, ItemText(0), menu_width - item_x - 2, &attr);
  34. if (selected) {
  35. dlg_item_help(ItemHelp(0));
  36. @@ -132,7 +132,7 @@
  37. * ( see in dialog_menu() )
  38. */
  39. dlg_show_string(win, result, offset, item_selected_attr,
  40. - y + 1, item_x + 1, menu_width - 2 - item_x - 2,
  41. + y + 1, item_x + 1, menu_width - item_x - 2,
  42. FALSE, first);
  43. first = FALSE;
  44. }