aboutsummaryrefslogtreecommitdiff
path: root/body/fltk-widgets-inputs-text-whole_number.adb
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2025-03-23 13:10:56 +1300
committerJedidiah Barber <contact@jedbarber.id.au>2025-03-23 13:10:56 +1300
commit620c9cedb6880f28a2b3657a5d55d120bf83e9ba (patch)
tree237cae636dffff5809ac2aef52fabc36a8254209 /body/fltk-widgets-inputs-text-whole_number.adb
parentf2352c6df585d817b3613145ec81446f917dcc21 (diff)
Improved project files, constant variables now constant
Diffstat (limited to 'body/fltk-widgets-inputs-text-whole_number.adb')
-rw-r--r--body/fltk-widgets-inputs-text-whole_number.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/body/fltk-widgets-inputs-text-whole_number.adb b/body/fltk-widgets-inputs-text-whole_number.adb
index b0a5aa5..070dc0f 100644
--- a/body/fltk-widgets-inputs-text-whole_number.adb
+++ b/body/fltk-widgets-inputs-text-whole_number.adb
@@ -145,7 +145,7 @@ package body FLTK.Widgets.Inputs.Text.Whole_Number is
(This : in Integer_Input)
return Long_Integer
is
- Ptr : Interfaces.C.Strings.chars_ptr := fl_input_get_value (This.Void_Ptr);
+ Ptr : constant Interfaces.C.Strings.chars_ptr := fl_input_get_value (This.Void_Ptr);
begin
if Ptr = Interfaces.C.Strings.Null_Ptr or else
Interfaces.C.Strings.Value (Ptr) = ""