aboutsummaryrefslogtreecommitdiff
path: root/body/fltk-labels.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-labels.adb
parentf2352c6df585d817b3613145ec81446f917dcc21 (diff)
Improved project files, constant variables now constant
Diffstat (limited to 'body/fltk-labels.adb')
-rw-r--r--body/fltk-labels.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/body/fltk-labels.adb b/body/fltk-labels.adb
index b105675..1cbf6fc 100644
--- a/body/fltk-labels.adb
+++ b/body/fltk-labels.adb
@@ -212,7 +212,7 @@ package body FLTK.Labels is
(This : in Label)
return String
is
- Text : Interfaces.C.Strings.chars_ptr := fl_label_get_value (This.Void_Ptr);
+ Text : constant Interfaces.C.Strings.chars_ptr := fl_label_get_value (This.Void_Ptr);
begin
if Text = Interfaces.C.Strings.Null_Ptr then
return "";