mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Initialize number_index and unit_index in isValidGlueLength(). This is now the same as in isValidLength(), so I assume it's OK.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33695 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
6200f4852b
commit
ab5c1c7408
@ -244,6 +244,8 @@ bool isValidGlueLength(string const & data, GlueLength * result)
|
||||
}
|
||||
// end of hack
|
||||
|
||||
number_index = unit_index = 1; // entries at index 0 are sentinels
|
||||
|
||||
// construct "pattern" from "data"
|
||||
size_t const pattern_max_size = 20;
|
||||
string pattern;
|
||||
|
Loading…
Reference in New Issue
Block a user