summaryrefslogtreecommitdiff
path: root/body/fltk-widgets-inputs-text-file.adb
diff options
context:
space:
mode:
Diffstat (limited to 'body/fltk-widgets-inputs-text-file.adb')
-rw-r--r--body/fltk-widgets-inputs-text-file.adb4
1 files changed, 3 insertions, 1 deletions
diff --git a/body/fltk-widgets-inputs-text-file.adb b/body/fltk-widgets-inputs-text-file.adb
index c7e4919..18b227f 100644
--- a/body/fltk-widgets-inputs-text-file.adb
+++ b/body/fltk-widgets-inputs-text-file.adb
@@ -245,7 +245,9 @@ package body FLTK.Widgets.Inputs.Text.File is
begin
pragma Assert (Result /= 0);
exception
- when Chk.Assertion_Error => raise Internal_FLTK_Error;
+ when Chk.Assertion_Error => raise Internal_FLTK_Error with
+ "Fl_File_Input::value returned unexpected int value of " &
+ Interfaces.C.int'Image (Result);
end Set_Value;