X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;ds=sidebyside;f=doc%2Fhtml%2Fada%2Fterminal_interface-curses-aux__adb.htm;h=bd288f38b436756d8d4541ce5ab577a738cb85c8;hb=cb4427a16794d98049b4d790b810d62217501f9f;hp=f36a36376abd0f650d2837227f302eaec08b02d2;hpb=34d602f272c394e9a980438e636e1ce4d355f83b;p=ncurses.git
diff --git a/doc/html/ada/terminal_interface-curses-aux__adb.htm b/doc/html/ada/terminal_interface-curses-aux__adb.htm
index f36a3637..bd288f38 100644
--- a/doc/html/ada/terminal_interface-curses-aux__adb.htm
+++ b/doc/html/ada/terminal_interface-curses-aux__adb.htm
@@ -58,77 +58,77 @@
package body Terminal_Interface.Curses.Aux is
- procedure Fill_String (Cp : chars_ptr;
- Str : out String)
+ procedure Fill_String (Cp : chars_ptr;
+ Str : out String)
is
Len : Natural;
begin
- if Cp /= Null_Ptr then
- Len := Natural (Strlen (Cp));
- if Str'Length < Len then
+ if Cp /= Null_Ptr then
+ Len := Natural (Strlen (Cp));
+ if Str'Length < Len then
raise Constraint_Error;
end if;
declare
S : String (1 .. Len);
begin
- S := Value (Cp);
- Str (Str'First .. (Str'First + Len - 1)) := S (S'Range);
+ S := Value (Cp);
+ Str (Str'First .. (Str'First + Len - 1)) := S (S'Range);
end;
else
Len := 0;
end if;
- if Len < Str'Length then
- Str ((Str'First + Len) .. Str'Last) := (others => ' ');
+ if Len < Str'Length then
+ Str ((Str'First + Len) .. Str'Last) := (others => ' ');
end if;
- end Fill_String;
+ end Fill_String;
- function Fill_String (Cp : chars_ptr) return String
+ function Fill_String (Cp : chars_ptr) return String
is
Len : Natural;
begin
- if Cp /= Null_Ptr then
- Len := Natural (Strlen (Cp));
+ if Cp /= Null_Ptr then
+ Len := Natural (Strlen (Cp));
if Len = 0 then
return "";
else
declare
S : String (1 .. Len);
begin
- Fill_String (Cp, S);
+ Fill_String (Cp, S);
return S;
end;
end if;
else
return "";
end if;
- end Fill_String;
+ end Fill_String;
- procedure Eti_Exception (Code : Eti_Error)
+ procedure Eti_Exception (Code : Eti_Error)
is
begin
- case Code is
- when E_Ok => null;
- when E_System_Error => raise Eti_System_Error;
- when E_Bad_Argument => raise Eti_Bad_Argument;
- when E_Posted => raise Eti_Posted;
- when E_Connected => raise Eti_Connected;
- when E_Bad_State => raise Eti_Bad_State;
- when E_No_Room => raise Eti_No_Room;
- when E_Not_Posted => raise Eti_Not_Posted;
- when E_Unknown_Command => raise Eti_Unknown_Command;
- when E_No_Match => raise Eti_No_Match;
- when E_Not_Selectable => raise Eti_Not_Selectable;
- when E_Not_Connected => raise Eti_Not_Connected;
- when E_Request_Denied => raise Eti_Request_Denied;
- when E_Invalid_Field => raise Eti_Invalid_Field;
- when E_Current => raise Eti_Current;
+ case Code is
+ when E_Ok => null;
+ when E_System_Error => raise Eti_System_Error;
+ when E_Bad_Argument => raise Eti_Bad_Argument;
+ when E_Posted => raise Eti_Posted;
+ when E_Connected => raise Eti_Connected;
+ when E_Bad_State => raise Eti_Bad_State;
+ when E_No_Room => raise Eti_No_Room;
+ when E_Not_Posted => raise Eti_Not_Posted;
+ when E_Unknown_Command => raise Eti_Unknown_Command;
+ when E_No_Match => raise Eti_No_Match;
+ when E_Not_Selectable => raise Eti_Not_Selectable;
+ when E_Not_Connected => raise Eti_Not_Connected;
+ when E_Request_Denied => raise Eti_Request_Denied;
+ when E_Invalid_Field => raise Eti_Invalid_Field;
+ when E_Current => raise Eti_Current;
end case;
- end Eti_Exception;
+ end Eti_Exception;
end Terminal_Interface.Curses.Aux;