aboutsummaryrefslogtreecommitdiff
path: root/body/fltk-images-rgb.adb
diff options
context:
space:
mode:
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;