Skip to content
Snippets Groups Projects
Commit 9a4990db authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

do not replace '\n' on bracket field

parent 7238e76d
No related branches found
No related tags found
No related merge requests found
...@@ -323,7 +323,7 @@ int parse_bracket(keynocheck *nocheck) ...@@ -323,7 +323,7 @@ int parse_bracket(keynocheck *nocheck)
if (end < 0) return 0 ; if (end < 0) return 0 ;
memcpy(tmp,nocheck->val.s+start,end - start) ; memcpy(tmp,nocheck->val.s+start,end - start) ;
tmp[end - start] = 0 ; tmp[end - start] = 0 ;
obstr_replace(tmp,'\n',' ') ; //obstr_replace(tmp,'\n',' ') ;
if (!stralloc_obreplace(&nocheck->val, tmp)) return 0 ; if (!stralloc_obreplace(&nocheck->val, tmp)) return 0 ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment