Will will want this in a moment. For now, no functional change.
Signed-off-by: Ian Jackson <[email protected]>
---
ms-flights-summary | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/ms-flights-summary b/ms-flights-summary
index 7981e44..78f8675 100755
--- a/ms-flights-summary
+++ b/ms-flights-summary
@@ -272,11 +272,15 @@ sub cols_hdr() {
printf("</tr>\n");
}
-sub flight_hdr($) {
- my $text = encode_entities(shift);
+sub flight_hdr_raw($) {
+ my ($text) = @_;
printf(" <tr><td colspan=%d><b>$text</b></td></tr>\n", scalar @cols);
}
+sub flight_hdr($) {
+ flight_hdr_raw(encode_entities(shift));
+}
+
sub cell($;$$$) {
my ($text,$colourattr,$fontattr,$tag) = @_;
$text //= '';
--
2.1.4
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel