summaryrefslogtreecommitdiffstats
path: root/st.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--st.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/st.c b/st.c
index 81973ee..2ecf8f3 100644
--- a/st.c
+++ b/st.c
@@ -366,7 +366,8 @@ static const char base64_digits[] = {
366char 366char
367base64dec_getc(const char **src) 367base64dec_getc(const char **src)
368{ 368{
369 while (**src && !isprint(**src)) (*src)++; 369 while (**src && !isprint(**src))
370 (*src)++;
370 return **src ? *((*src)++) : '='; /* emulate padding if string ends */ 371 return **src ? *((*src)++) : '='; /* emulate padding if string ends */
371} 372}
372 373