diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-06-06 15:31:36 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-06-06 15:31:36 +0200 |
commit | d69b8110517114d884c185c4dc8053858670c81f (patch) | |
tree | 8912cc5cb1b7ead5ce7469cd60356af189e926ce /client/ui.c | |
parent | 9cbd1ed3bd8e59e24bd4db92b749213ac2c0c8f9 (diff) |
scal and spin done, removed lcal
Diffstat (limited to 'client/ui.c')
-rw-r--r-- | client/ui.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/ui.c b/client/ui.c index f636501..3835126 100644 --- a/client/ui.c +++ b/client/ui.c @@ -41,9 +41,9 @@ void w2_ui_paint_statusbar() { mvaddnstr(1, 0, temp, g_w2_ui_width); mvaddnstr(2, 0, temp, g_w2_ui_width); - g_w2_state.connected - ? sprintf(temp, W2_UI_CONN_STAT_CONNECTED ", %ims %s", g_w2_state.ping, W2_UI_CONN_STAT_PING) - : sprintf(temp, W2_UI_CONN_STAT_DISCONNECTED); + g_w2_state.connected ? sprintf(temp, W2_UI_CONN_STAT_CONNECTED ", %ims %s", g_w2_state.ping, + W2_UI_CONN_STAT_PING) + : sprintf(temp, W2_UI_CONN_STAT_DISCONNECTED); mvaddstr(0, 0, temp); sprintf(temp, "(%s)", g_w2_state.info.build_str); |