From 05c7aceb1e96b9db6f9cf65a3367a98c8983443e Mon Sep 17 00:00:00 2001 From: Benjamin Barenblat Date: Mon, 7 Aug 2023 21:40:33 -0400 Subject: Fix up clang-formatting a bit Move some characters around to optimize clang-format output. --- src/frontend/stmclient.h | 6 +++--- src/util/select.h | 6 ++---- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/frontend/stmclient.h b/src/frontend/stmclient.h index 91598f4..4d19225 100644 --- a/src/frontend/stmclient.h +++ b/src/frontend/stmclient.h @@ -98,9 +98,9 @@ public: : ip( s_ip ? s_ip : "" ), port( s_port ? s_port : "" ), key( s_key ? s_key : "" ), escape_key( 0x1E ), escape_pass_key( '^' ), escape_pass_key2( '^' ), escape_requires_lf( false ), escape_key_help( L"?" ), saved_termios(), raw_termios(), window_size(), local_framebuffer( 1, 1 ), new_state( 1, 1 ), overlays(), - network(), display( true ), /* use TERM environment var to initialize display */ - connecting_notification(), repaint_requested( false ), lf_entered( false ), quit_sequence_started( false ), - clean_shutdown( false ), verbose( s_verbose ) + network(), display( true ) /* use TERM environment var to initialize display */, connecting_notification(), + repaint_requested( false ), lf_entered( false ), quit_sequence_started( false ), clean_shutdown( false ), + verbose( s_verbose ) { if ( predict_mode ) { if ( !strcmp( predict_mode, "always" ) ) { diff --git a/src/util/select.h b/src/util/select.h index dc1817b..82022e5 100644 --- a/src/util/select.h +++ b/src/util/select.h @@ -60,10 +60,8 @@ public: private: Select() - : max_fd( -1 ) - /* These initializations are not used; they are just - here to appease -Weffc++. */ - , + : max_fd( -1 ), + /* These initializations are not used; they are just here to appease -Weffc++. */ all_fds( dummy_fd_set ), read_fds( dummy_fd_set ), empty_sigset( dummy_sigset ), consecutive_polls( 0 ) { FD_ZERO( &all_fds ); -- cgit v1.2.3