[pshinter] Avoid harmless overflow (#45984).
* src/pshinter/pshglob.c (psh_blues_set_zones): Fix it.
This commit is contained in:
parent
a3046567bc
commit
483007fcd9
|
@ -1,3 +1,9 @@
|
||||||
|
2015-09-29 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
|
[pshinter] Avoid harmless overflow (#45984).
|
||||||
|
|
||||||
|
* src/pshinter/pshglob.c (psh_blues_set_zones): Fix it.
|
||||||
|
|
||||||
2015-09-28 Werner Lemberg <wl@gnu.org>
|
2015-09-28 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
[autofit] Add support for Lao script.
|
[autofit] Add support for Lao script.
|
||||||
|
|
|
@ -339,7 +339,7 @@
|
||||||
bot = zone[1].org_bottom;
|
bot = zone[1].org_bottom;
|
||||||
delta = bot - top;
|
delta = bot - top;
|
||||||
|
|
||||||
if ( delta < 2 * fuzz )
|
if ( delta / 2 < fuzz )
|
||||||
zone[0].org_top = zone[1].org_bottom = top + delta / 2;
|
zone[0].org_top = zone[1].org_bottom = top + delta / 2;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue