From 032d3f5cf45a08ac35edf2cf6b2014730955ec2c Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sun, 5 Nov 2023 14:53:42 +0100 Subject: FLUID: Fixes child properties reader. --- fluid/file.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'fluid/file.cxx') diff --git a/fluid/file.cxx b/fluid/file.cxx index 9694d5623..3f0fafd47 100644 --- a/fluid/file.cxx +++ b/fluid/file.cxx @@ -504,7 +504,8 @@ void Fd_Project_Reader::read_error(const char *format, ...) { will return the string `"{"`, if clear, a `{` is seen as the start of a word \return a pointer to the internal buffer, containing a copy of the word. Don't free the buffer! Note that most (all?) other file operations will - overwrite this buffer. + overwrite this buffer. If wantbrace is not set, but we read a leading '{', + the returned string will be stripped of its leading and trailing braces. */ const char *Fd_Project_Reader::read_word(int wantbrace) { int x; -- cgit v1.2.3