From d83d89679beb0d92b140684230936d264a182679 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Thu, 14 Apr 2022 11:07:12 +0200 Subject: Fix for issue #429 : Segfault with Ctrl+/- with current git version --- src/Fl_Bitmap.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Fl_Bitmap.cxx') diff --git a/src/Fl_Bitmap.cxx b/src/Fl_Bitmap.cxx index f760ac979..cbe997827 100644 --- a/src/Fl_Bitmap.cxx +++ b/src/Fl_Bitmap.cxx @@ -55,7 +55,7 @@ void Fl_Bitmap::label(Fl_Menu_Item* m) { m->label(FL_IMAGE_LABEL, (const char*)this); } -Fl_Image *Fl_Bitmap::copy(int W, int H) { +Fl_Image *Fl_Bitmap::copy(int W, int H) const { Fl_Bitmap *new_image; // New RGB image uchar *new_array; // New array for image data -- cgit v1.2.3