From: Thomas Roessler Date: Wed, 10 Oct 2001 12:49:37 +0000 (+0000) Subject: Rename pad_char to m_pad_char - AIX curses have a macro called X-Git-Tag: mutt-1-3-23-1-rel~42 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8758fec6fda899b6da21b3bfe317ec52993dfef6;p=mutt Rename pad_char to m_pad_char - AIX curses have a macro called pad_char. Noted by Jan Chrillesen . --- diff --git a/curs_lib.c b/curs_lib.c index 82ee5d75..8e830799 100644 --- a/curs_lib.c +++ b/curs_lib.c @@ -530,7 +530,7 @@ int mutt_addwch (wchar_t wc) void mutt_format_string (char *dest, size_t destlen, int min_width, int max_width, - int right_justify, char pad_char, + int right_justify, char m_pad_char, const char *s, size_t n, int arboreal) { @@ -580,12 +580,12 @@ void mutt_format_string (char *dest, size_t destlen, while (--p >= dest) p[w] = *p; while (--w >= 0) - dest[w] = pad_char; + dest[w] = m_pad_char; } else { while (--w >= 0) - *p++ = pad_char; + *p++ = m_pad_char; *p = '\0'; } }