mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-23 08:44:01 +00:00
Was forgetting this
* src/support/docstring.C (do_get): terminate the string before using it. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16086 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c7a3620eeb
commit
04f2c93ca5
@ -468,6 +468,7 @@ protected:
|
||||
s.reserve(64);
|
||||
for (; iit != eit && isNumpunct(*iit); ++iit)
|
||||
s += static_cast<char>(*iit);
|
||||
s += '\0';
|
||||
string_num_get_facet f;
|
||||
f.get(s.begin(), s.end(), b, err, v);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user