outrip() updating (trunk only)
Part II of the bones tracking patch. Change umpteen different outrip()
routines to handle its new time_t argument, and use formatkiller() instead
of directly accessing killer.{format,name} and killed_by_prefix[]. The
latter is now static within formatkiller().
The many sys/* and win/* changes are untested....
This commit is contained in:
+3
-2
@@ -896,9 +896,10 @@ void X11_start_screen() { return; } /* called from setftty() in unixtty.c */
|
||||
void X11_end_screen() { return; } /* called from settty() in unixtty.c */
|
||||
|
||||
#ifdef GRAPHIC_TOMBSTONE
|
||||
void X11_outrip(window, how)
|
||||
void X11_outrip(window, how, when)
|
||||
winid window;
|
||||
int how;
|
||||
time_t when;
|
||||
{
|
||||
struct xwindow *wp;
|
||||
|
||||
@@ -911,7 +912,7 @@ void X11_outrip(window, how)
|
||||
panic("ripout on non-text window (window type [%d])", wp->type);
|
||||
}
|
||||
|
||||
calculate_rip_text(how);
|
||||
calculate_rip_text(how, when);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user