]> git.lyx.org Git - features.git/commit
Improve the num_get locale facet
authorEnrico Forestieri <forenr@lyx.org>
Mon, 27 Nov 2006 01:52:26 +0000 (01:52 +0000)
committerEnrico Forestieri <forenr@lyx.org>
Mon, 27 Nov 2006 01:52:26 +0000 (01:52 +0000)
commit1a7aec073186d3f00562739573086260510cb765
tree415bf444bb721ced076bbd0efccc8de00c857978
parent8e6e970d7ba017dba14bdb821f4c4489665d947c
Improve the num_get locale facet

* src/support/docstring.C
(do_get): use reserve() and the += operator in order to
avoid a possible buffer overrun.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16070 a592a061-630c-0410-9148-cb99ea01b6c8
src/support/docstring.C