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-images-rgb.adb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'body/fltk-images-rgb.adb') diff --git a/body/fltk-images-rgb.adb b/body/fltk-images-rgb.adb index f3dff61..ce512cd 100644 --- a/body/fltk-images-rgb.adb +++ b/body/fltk-images-rgb.adb @@ -275,7 +275,7 @@ package body FLTK.Images.RGB is (This : in RGB_Image) return Natural is - Per_Line : Natural := This.Get_Line_Size; + Per_Line : constant Natural := This.Get_Line_Size; begin if Per_Line = 0 then return This.Get_W * This.Get_D * This.Get_H; -- cgit