aboutsummaryrefslogtreecommitdiff
path: root/src/libhtml/lex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libhtml/lex.c')
-rw-r--r--src/libhtml/lex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libhtml/lex.c b/src/libhtml/lex.c
index 49c5f502..82324ba5 100644
--- a/src/libhtml/lex.c
+++ b/src/libhtml/lex.c
@@ -586,7 +586,7 @@ getplaindata(TokenSource* ts, Token* a, int* pai)
}
if(c != 0){
buf[j++] = c;
- if(j == sizeof(buf)-1){
+ if(j == BIGBUFSIZE-1){
s = buftostr(s, buf, j);
j = 0;
}