Fix GCC build

This commit is contained in:
Stas Degteff 2005-11-15 18:34:24 +00:00
parent dc3b5a05ae
commit 125452d0b6

View File

@ -257,7 +257,9 @@ void GMsgHeaderView::Paint() {
window.prints(3, 0, window_color, LNG->To); window.prints(3, 0, window_color, LNG->To);
color = ((msg->foundwhere&GFIND_TO) or msg->attr.tou()) ? highlight_color : to_color; color = ((msg->foundwhere&GFIND_TO) or msg->attr.tou()) ? highlight_color : to_color;
color = GetColorName(msg->To(), area->isnet() ? msg->dest : Addr(), color); { Addr a;
color = GetColorName(msg->To(), area->isnet() ? msg->dest : a, color);
}
window.prints(3, CFG->disphdrnameset.pos, color, buf); window.prints(3, CFG->disphdrnameset.pos, color, buf);
if(datewidth > 0) { if(datewidth > 0) {