From 7acdd8f7045d212835c93b990417e8e2fe2c62e8 Mon Sep 17 00:00:00 2001 From: Charl Wentzel Date: Sat, 6 Apr 2019 13:45:45 +0200 Subject: [PATCH] Minor Update: - Increase buffer of JSONparse to ensure reading for long strings --- JSONparseCore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/JSONparseCore.cpp b/JSONparseCore.cpp index 5bcd52f..354e767 100644 --- a/JSONparseCore.cpp +++ b/JSONparseCore.cpp @@ -228,7 +228,7 @@ bool CJSONparse::ReadFromHandle( const char * BasePath, int Handle, bool pRefill InputHandle = Handle; // Load Buffer - CreateBuffer( 50 ); + CreateBuffer( 500 ); if (!FillBuffer()) { Error = true; sprintf( ErrorText, "Could not read from file" );