X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/4fab92fbc2b63bac2d89c1dae69fa1845cb640b7..6fa5cd352fc9c1e86ec56ac4f2b96804b6472a5f:/src/exim_monitor/em_strip.c diff --git a/src/exim_monitor/em_strip.c b/src/exim_monitor/em_strip.c index f0ad3abbb..21e5739db 100644 --- a/src/exim_monitor/em_strip.c +++ b/src/exim_monitor/em_strip.c @@ -4,6 +4,7 @@ /* Copyright (c) University of Cambridge 1995 - 2009 */ /* See the file NOTICE for conditions of use and distribution. */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ #include "em_hdr.h" @@ -21,7 +22,7 @@ static int size_first_time = 1; /* and another */ static int stripchart_count = 0; /* count stripcharts created */ static int *stripchart_delay; /* vector of delay counts */ static Widget *stripchart_label; /* vector of label widgets */ -static int *stripchart_last_total; /* vector of prevous values */ +static int *stripchart_last_total; /* vector of previous values */ static int *stripchart_max; /* vector of maxima */ static int *stripchart_middelay; /* vector of */ static int *stripchart_midmax; /* vector of */ @@ -141,7 +142,7 @@ while (thresholds[i] > 0) thresh : stripchart_midmax[num]; if (newmax == 10) sprintf(CS buffer, "%s", stripchart_name[num]); else sprintf(CS buffer, "%s x%d", stripchart_name[num], newmax/10); - if (size_stripchart != NULL && num == 1) Ustrcat(buffer, "%"); + if (size_stripchart != NULL && num == 1) Ustrcat(buffer, US"%"); xs_SetValues(stripchart_label[num], 1, "label", buffer); oldmax = stripchart_max[num]; stripchart_max[num] = newmax;