diff --git a/doc/reference_processing.xml b/doc/reference_processing.xml
index 320eb4240..c2e12ab4d 100644
--- a/doc/reference_processing.xml
+++ b/doc/reference_processing.xml
@@ -375,7 +375,7 @@ FROM someroadstable;
15, 'quad_segs=4 join=round' original line
-and its offset 15 units to the left.
+and its offset 15 units.
@@ -399,16 +399,17 @@ LINESTRING(164 1,18 1,12.2597485145237 2.1418070123307,
-15, 'quad_segs=4 join=round' original line
- and its offset 15 units to the right.
+ and its offset -15 units and then a double-offset to get more curvy
-SELECT ST_AsText(ST_OffsetCurve(ST_GeomFromText(
+SELECT ST_AsText(ST_OffsetCurve(geom,
+ -15, 'quad_segs=4 join=round')) As nosocurvy
+ FROM ST_GeomFromText(
'LINESTRING(164 16,144 16,124 16,104 16,84 16,64 16,
44 16,24 16,20 16,18 16,17 17,
16 18,16 20,16 40,16 60,16 80,16 100,
- 16 120,16 140,16 160,16 180,16 195)'),
- -15, 'quad_segs=4 join=round'));
+ 16 120,16 140,16 160,16 180,16 195)') As geom;
-- output --
LINESTRING(31 195,31 31,164 31)