comparison mcabber/mcabber/screen.c @ 2288:ece02eb9c81d

Backed out changeset 1bb9002801e5
author Mikael Berthe <mikael@lilotux.net>
date Tue, 13 Dec 2016 22:26:45 +0100
parents 1bb9002801e5
children 0d350e979bde
comparison
equal deleted inserted replaced
2287:1f5f708d58a6 2288:ece02eb9c81d
65 #define DEFAULT_LOG_WIN_HEIGHT (5+2) 65 #define DEFAULT_LOG_WIN_HEIGHT (5+2)
66 #define DEFAULT_ROSTER_WIDTH 24 66 #define DEFAULT_ROSTER_WIDTH 24
67 #define CHAT_WIN_HEIGHT (maxY-1-Log_Win_Height) 67 #define CHAT_WIN_HEIGHT (maxY-1-Log_Win_Height)
68 68
69 #define DEFAULT_ATTENTION_CHAR '!' 69 #define DEFAULT_ATTENTION_CHAR '!'
70
71 extern int build_buddylist;
72 70
73 const char *LocaleCharSet = "C"; 71 const char *LocaleCharSet = "C";
74 72
75 static unsigned short int Log_Win_Height; 73 static unsigned short int Log_Win_Height;
76 static unsigned short int Roster_Width; 74 static unsigned short int Roster_Width;
2538 // Remove the readmark if it is at the end of the buffer 2536 // Remove the readmark if it is at the end of the buffer
2539 scr_buffer_readmark(-1); 2537 scr_buffer_readmark(-1);
2540 } 2538 }
2541 // We should rebuild the buddylist but not everytime 2539 // We should rebuild the buddylist but not everytime
2542 if (!(buddylist_get_filter() & 1<<prev_st)) 2540 if (!(buddylist_get_filter() & 1<<prev_st))
2543 build_buddylist = TRUE; 2541 buddylist_build();
2544 update_roster = TRUE; 2542 update_roster = TRUE;
2545 } 2543 }
2546 2544
2547 // scr_roster_top() 2545 // scr_roster_top()
2548 // Go to the first buddy in the buddylist 2546 // Go to the first buddy in the buddylist