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=f7952f6fae64b03abc34e070a9392222ad7263ba;hp=a11bb3521962ad136435863e478552ea71fdeb81;hb=c0f109a299a82a33c16bd7af942a12ce9aefaaf0;hpb=761e4f0825b330e970558e82a4bd638383914429;ds=sidebyside
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..f7952f6f 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,8 @@
-
+
+
@@ -52,29 +53,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;
- Typ : Alpha_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);
- end Set_Field_Type;
+ 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;