Mercurial > ~mikael > mcabber > hg
comparison mcabber/mcabber/screen.c @ 1710:68981c37ed3f
Fix roster issue reported by DavidP
Folded groups with long names were incorrectly displayed with "---".
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Tue, 09 Feb 2010 13:25:08 +0100 |
parents | 87dd0a8f1a9c |
children | e6e89b1d7831 |
comparison
equal
deleted
inserted
replaced
1709:446d597b9490 | 1710:68981c37ed3f |
---|---|
1976 &group_count); | 1976 &group_count); |
1977 snprintf(rline, 4*Roster_Width, " %c+++ %s (%i)", pending, name, | 1977 snprintf(rline, 4*Roster_Width, " %c+++ %s (%i)", pending, name, |
1978 group_count); | 1978 group_count); |
1979 /* Do not display the item count if there isn't enough space */ | 1979 /* Do not display the item count if there isn't enough space */ |
1980 if (g_utf8_strlen(rline, 4*Roster_Width) >= Roster_Width) | 1980 if (g_utf8_strlen(rline, 4*Roster_Width) >= Roster_Width) |
1981 snprintf(rline, 4*Roster_Width, " %c--- %s", pending, name); | 1981 snprintf(rline, 4*Roster_Width, " %c+++ %s", pending, name); |
1982 } | 1982 } |
1983 else | 1983 else |
1984 snprintf(rline, 4*Roster_Width, " %c--- %s", pending, name); | 1984 snprintf(rline, 4*Roster_Width, " %c--- %s", pending, name); |
1985 } else if (isspe) { | 1985 } else if (isspe) { |
1986 snprintf(rline, 4*Roster_Width, " %c%s", pending, name); | 1986 snprintf(rline, 4*Roster_Width, " %c%s", pending, name); |