Fix position of 1-button Fl_Message windows
This commit is contained in:
parent
bb5cb5b6d4
commit
73bd4a53dd
@ -367,7 +367,7 @@ int Fl_Message::innards(const char *fmt, va_list ap, const char *b0, const char
|
||||
window_->position(form_x_, form_y_);
|
||||
form_x_ = form_y_ = form_position_ = 0;
|
||||
} else if (enable_hotspot_)
|
||||
window_->hotspot(button_[0]);
|
||||
window_->hotspot(b0 ? button_[0] : button_[1]);
|
||||
else
|
||||
window_->free_position();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user