X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fada%2Fterminal_interface-curses-forms-field_types-alpha__adb.htm;h=eb94006db5d8eb97292486ee292c9add3258e3c9;hp=a11bb3521962ad136435863e478552ea71fdeb81;hb=34d602f272c394e9a980438e636e1ce4d355f83b;hpb=c9c32236e27689a61c794b714c6b86c460866e35
diff --git a/doc/html/ada/terminal_interface-curses-forms-field_types-alpha__adb.htm b/doc/html/ada/terminal_interface-curses-forms-field_types-alpha__adb.htm
index a11bb352..eb94006d 100644
--- a/doc/html/ada/terminal_interface-curses-forms-field_types-alpha__adb.htm
+++ b/doc/html/ada/terminal_interface-curses-forms-field_types-alpha__adb.htm
@@ -24,7 +24,7 @@
-
+
@@ -52,29 +52,25 @@
-
-
+
+
-with Terminal_Interface.Curses.Aux; use Terminal_Interface.Curses.Aux;
+with Terminal_Interface.Curses.Aux; use Terminal_Interface.Curses.Aux;
-package body Terminal_Interface.Curses.Forms.Field_Types.Alpha is
+package body Terminal_Interface.Curses.Forms.Field_Types.Alpha is
- procedure Set_Field_Type (Fld : Field;
+ procedure Set_Field_Type (Fld : Field;
Typ : Alpha_Field)
is
- function Set_Fld_Type (F : Field := Fld;
- Arg1 : C_Int) return C_Int;
+ function Set_Fld_Type (F : Field := Fld;
+ Arg1 : C_Int) return Eti_Error;
pragma Import (C, Set_Fld_Type, "set_field_type_alpha");
- Res : Eti_Error;
begin
- Res := Set_Fld_Type (Arg1 => C_Int (Typ.Minimum_Field_Width));
- if Res /= E_Ok then
- Eti_Exception (Res);
- end if;
- Wrap_Builtin (Fld, Typ);
+ Eti_Exception (Set_Fld_Type (Arg1 => C_Int (Typ.Minimum_Field_Width)));
+ Wrap_Builtin (Fld, Typ);
end Set_Field_Type;
-end Terminal_Interface.Curses.Forms.Field_Types.Alpha;
+end Terminal_Interface.Curses.Forms.Field_Types.Alpha;