mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 03:03:06 +00:00
John Spray\'s off-by-one-fix for vspace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9235 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
41f754c975
commit
77384eb8f6
@ -1,3 +1,7 @@
|
||||
2004-11-14 John Spray <spray_john@users.sourceforge.net>
|
||||
|
||||
* vspace.C: fix off-by-one-error, related to fix #1682
|
||||
|
||||
2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
||||
|
||||
* lengthcommon.C: a more general fix for bug 1682
|
||||
|
@ -193,7 +193,7 @@ LaTeXLength table[] = {
|
||||
|
||||
const char * stringFromUnit(int unit)
|
||||
{
|
||||
if (unit < 0 || unit >= num_units)
|
||||
if (unit < 0 || unit > num_units)
|
||||
return 0;
|
||||
return unit_name[unit];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user