From b4995f979d127cea667b4e2b71c91e9db4ab52ef Mon Sep 17 00:00:00 2001 From: maxim nikonov Date: Fri, 6 Feb 2026 18:12:40 +0500 Subject: wip --- src/Fl_Message.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/Fl_Message.cxx') diff --git a/src/Fl_Message.cxx b/src/Fl_Message.cxx index d3112c562..78cf03951 100644 --- a/src/Fl_Message.cxx +++ b/src/Fl_Message.cxx @@ -180,7 +180,8 @@ Fl_Message::Fl_Message(const char *iconlabel) // create the buttons (positions: right to left) // button 1 is a return button - for (int b = 0, x = 310; b < 3; b++, x -= 100) { + int b, x; + for (b = 0, x = 310; b < 3; b++, x -= 100) { if (b == 1) { button_[b] = new Fl_Return_Button(x, 70, 90, 23); } else { @@ -192,7 +193,7 @@ Fl_Message::Fl_Message(const char *iconlabel) // add the buttons left to right for tab navigation - for (int b = 2; b >= 0; b--) { + for (b = 2; b >= 0; b--) { window_->add(button_[b]); } -- cgit v1.2.3