mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Tidied whitespace
This commit is contained in:
parent
cdba79cbb5
commit
d965709910
@ -178,7 +178,6 @@ _title_bar_draw(void)
|
|||||||
|
|
||||||
_show_contact_presence();
|
_show_contact_presence();
|
||||||
|
|
||||||
|
|
||||||
#ifdef HAVE_LIBOTR
|
#ifdef HAVE_LIBOTR
|
||||||
_show_privacy();
|
_show_privacy();
|
||||||
#endif
|
#endif
|
||||||
@ -205,16 +204,14 @@ _title_bar_draw(void)
|
|||||||
static void
|
static void
|
||||||
_show_self_presence(void)
|
_show_self_presence(void)
|
||||||
{
|
{
|
||||||
|
int presence_attrs = 0;
|
||||||
int bracket_attrs = theme_attrs(THEME_TITLE_BRACKET);
|
int bracket_attrs = theme_attrs(THEME_TITLE_BRACKET);
|
||||||
|
|
||||||
int cols = getmaxx(stdscr);
|
int cols = getmaxx(stdscr);
|
||||||
|
|
||||||
wattron(win, bracket_attrs);
|
wattron(win, bracket_attrs);
|
||||||
mvwaddch(win, 0, cols - 14, '[');
|
mvwaddch(win, 0, cols - 14, '[');
|
||||||
wattroff(win, bracket_attrs);
|
wattroff(win, bracket_attrs);
|
||||||
|
|
||||||
int presence_attrs = 0;
|
|
||||||
|
|
||||||
switch (current_presence)
|
switch (current_presence)
|
||||||
{
|
{
|
||||||
case CONTACT_ONLINE:
|
case CONTACT_ONLINE:
|
||||||
|
Loading…
Reference in New Issue
Block a user