--- a/mcabber/src/screen.c Thu Apr 06 22:36:46 2006 +0200
+++ b/mcabber/src/screen.c Thu Apr 06 23:02:30 2006 +0200
@@ -876,7 +876,7 @@
} else if (jb_getstatus() != offline) {
enum imstatus budstate;
budstate = buddy_getstatus(BUDDATA(current_buddy), NULL);
- if (budstate >= 0 && budstate < imstatus_size)
+ if (budstate < imstatus_size)
status = imstatus2char[budstate];
}
@@ -1010,7 +1010,7 @@
} else if (currentstatus != offline) {
enum imstatus budstate;
budstate = buddy_getstatus(BUDDATA(buddy), NULL);
- if (budstate >= 0 && budstate < imstatus_size)
+ if (budstate < imstatus_size)
status = imstatus2char[budstate];
}
if (buddy == current_buddy) {