-- B O D Y --
-- --
------------------------------------------------------------------------------
--- Copyright (c) 2000,2004 Free Software Foundation, Inc. --
+-- Copyright (c) 2000-2004,2008 Free Software Foundation, Inc. --
-- --
-- Permission is hereby granted, free of charge, to any person obtaining a --
-- copy of this software and associated documentation files (the --
------------------------------------------------------------------------------
-- Author: Eugene V. Melaragno <aldomel@ix.netcom.com> 2000
-- Version Control
--- $Revision: 1.4 $
--- $Date: 2004/08/21 21:37:00 $
+-- $Revision: 1.6 $
+-- $Date: 2008/08/30 23:35:01 $
-- Binding Version 01.00
------------------------------------------------------------------------------
with ncurses2.util; use ncurses2.util;
Clear_To_End_Of_Line (win);
Box (win);
Get_Size (win, maxy, maxx);
- for y in 2 .. maxy - 2 loop
- for x in 1 .. maxx - 2 loop
+ for y in 2 .. maxy - 3 loop
+ for x in 1 .. maxx - 3 loop
Move_Cursor (win, y, x);
Add (win, num);
end loop;
end loop;
+ exception
+ when Curses_Exception => null;
end fill_panel;
modstr : constant array (0 .. 5) of String (1 .. 5) :=