equal
deleted
inserted
replaced
731 // for unfolded groups. |
731 // for unfolded groups. |
732 if (ismsg && (!isgrp || ishid)) { |
732 if (ismsg && (!isgrp || ishid)) { |
733 pending = '#'; |
733 pending = '#'; |
734 } |
734 } |
735 |
735 |
736 budstate = buddy_getstatus(BUDDATA(buddy)); |
736 budstate = buddy_getstatus(BUDDATA(buddy), NULL); |
737 if (budstate >= 0 && budstate < imstatus_size && currentstatus != offline) |
737 if (budstate >= 0 && budstate < imstatus_size && currentstatus != offline) |
738 status = imstatus2char[budstate]; |
738 status = imstatus2char[budstate]; |
739 if (buddy == current_buddy) { |
739 if (buddy == current_buddy) { |
740 wattrset(rosterWnd, COLOR_PAIR(COLOR_BD_DESSEL)); |
740 wattrset(rosterWnd, COLOR_PAIR(COLOR_BD_DESSEL)); |
741 // The 3 following lines aim to color the whole line |
741 // The 3 following lines aim to color the whole line |
847 */ |
847 */ |
848 |
848 |
849 if (!current_buddy || !newbuddy) return; |
849 if (!current_buddy || !newbuddy) return; |
850 if (newbuddy == current_buddy) return; |
850 if (newbuddy == current_buddy) return; |
851 |
851 |
852 prev_st = buddy_getstatus(BUDDATA(current_buddy)); |
852 prev_st = buddy_getstatus(BUDDATA(current_buddy), NULL); |
853 buddy_setflags(BUDDATA(current_buddy), ROSTER_FLAG_LOCK, FALSE); |
853 buddy_setflags(BUDDATA(current_buddy), ROSTER_FLAG_LOCK, FALSE); |
854 if (chatmode) |
854 if (chatmode) |
855 alternate_buddy = current_buddy; |
855 alternate_buddy = current_buddy; |
856 current_buddy = newbuddy; |
856 current_buddy = newbuddy; |
857 // Lock the buddy in the buddylist if we're in chat mode |
857 // Lock the buddy in the buddylist if we're in chat mode |