From 620c9cedb6880f28a2b3657a5d55d120bf83e9ba Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Sun, 23 Mar 2025 13:10:56 +1300 Subject: Improved project files, constant variables now constant --- body/fltk-labels.adb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'body/fltk-labels.adb') 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 ""; -- cgit