aboutsummaryrefslogtreecommitdiff
path: root/toys/other
diff options
context:
space:
mode:
Diffstat (limited to 'toys/other')
-rw-r--r--toys/other/base64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toys/other/base64.c b/toys/other/base64.c
index 33155bc5..87887cda 100644
--- a/toys/other/base64.c
+++ b/toys/other/base64.c
@@ -23,7 +23,7 @@ config BASE64
#include "toys.h"
GLOBALS(
- long columns;
+ long w;
unsigned total;
)
@@ -32,7 +32,7 @@ static void wraputchar(int c, int *x)
{
putchar(c);
TT.total++;
- if (TT.columns && ++*x == TT.columns) {
+ if (TT.w && ++*x == TT.w) {
*x = 0;
xputc('\n');
};