diff --git a/ChangeLog.txt b/ChangeLog.txt index abe2e43d1b..d6f90c587d 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -10,6 +10,11 @@ * Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment */ +2014-01-14 15:21 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) + * src/rtl/hbjson.c + ! do not indent null used as cross reference replacement if human + readable format is disabled + 2014-01-14 13:13 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbjson.c ! indent null used as cross reference replacement diff --git a/src/rtl/hbjson.c b/src/rtl/hbjson.c index df458dca88..ea21f15206 100644 --- a/src/rtl/hbjson.c +++ b/src/rtl/hbjson.c @@ -153,7 +153,7 @@ static void _hb_jsonEncode( PHB_ITEM pValue, PHB_JSON_ENCODE_CTX pCtx, { if( pCtx->pId[ nIndex ] == id ) { - if( !fEOL ) + if( !fEOL && pCtx->fHuman ) _hb_jsonCtxAddIndent( pCtx, nLevel * INDENT_SIZE ); _hb_jsonCtxAdd( pCtx, "null", 4 ); return;