summaryrefslogtreecommitdiff
path: root/fluid/widget_panel.cxx
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2023-12-21 14:03:04 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2023-12-21 14:03:04 +0100
commit76a2c95f0715845432dab89984bb28a5dbfa3ebc (patch)
tree33292a5a81c3d51dbed86b3facd344c859b19421 /fluid/widget_panel.cxx
parent39846392702607ec014cb2dd450c3c6ba86827a6 (diff)
Fix a typo, trailing whitespace, and dependencies
Diffstat (limited to 'fluid/widget_panel.cxx')
-rw-r--r--fluid/widget_panel.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/fluid/widget_panel.cxx b/fluid/widget_panel.cxx
index 967e6b13f..758ad96b1 100644
--- a/fluid/widget_panel.cxx
+++ b/fluid/widget_panel.cxx
@@ -390,8 +390,8 @@ void run_image_panel() {
make_image_panel();
image_panel_window->do_callback(image_panel_window, LOAD);
-
- Fl::pushed(0);
+
+ Fl::pushed(0);
Fl_Window *g = Fl::grab();
if (g) Fl::grab(0);
image_panel_window->show();
@@ -399,7 +399,7 @@ void run_image_panel() {
Fl::wait();
if (g)
Fl::grab(g);
-
+
Fl_Shared_Image *img = (Fl_Shared_Image*)image_panel_data->user_data();
if (img) {
img->release();