blob: 6ae392bc5cc8367149e0be1637f912157432761e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-ak,v 1.1 2012/04/30 14:26:38 drochner Exp $
--- gtk/gtkthemingengine.c.orig 2012-04-15 17:32:48.000000000 +0000
+++ gtk/gtkthemingengine.c
@@ -1481,7 +1481,7 @@ set_stroke_style (cairo_t *cr,
/* Optimize the common case of an integer-sized rectangle
* Again, we care about focus rectangles.
*/
- if (n == nearbyint (n))
+ if (n == floor (n + 0.5))
{
segments[0] = 1;
segments[1] = 2;
|