aboutsummaryrefslogtreecommitdiff
path: root/body/fltk-images-rgb.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-images-rgb.adb
parentf2352c6df585d817b3613145ec81446f917dcc21 (diff)
Improved project files, constant variables now constant
Diffstat (limited to 'body/fltk-images-rgb.adb')
-rw-r--r--body/fltk-images-rgb.adb2
1 files changed, 1 insertions, 1 deletions
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;