Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
gammasoft71 committed Aug 28, 2024
2 parents afc873a + 4f8deae commit f8f4960
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/xtd.core/src/xtd/console.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,6 @@ void console::write_(const string& value) {

void console::write_line_(const string& value) {
auto lock = std::lock_guard<std::recursive_mutex> {__console_mutex__};
out << value << std::endl;
out << value << '\n';
if (auto_flush_out()) out.flush();
}
2 changes: 1 addition & 1 deletion src/xtd.forms/src/xtd/forms/combo_box.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ combo_box_style combo_box::drop_down_style() const noexcept {
}

combo_box& combo_box::drop_down_style(combo_box_style drop_down_style) {
if (data_->drop_down_style == drop_down_style)
if (data_->drop_down_style == drop_down_style) return *this;
data_->drop_down_style = drop_down_style;
post_recreate_handle();
on_drop_down_style_changed(event_args::empty);
Expand Down

0 comments on commit f8f4960

Please sign in to comment.