[m-rev.] [PATCH 01/11] mercury_cairo: Fix spelling.

Peter Wang novalazy at gmail.com
Fri Sep 4 12:00:49 AEST 2015


extras/graphics/mercury_cairo/cairo.m:
extras/graphics/mercury_cairo/cairo.pattern.m:
	Fix spelling.
---
 extras/graphics/mercury_cairo/cairo.m         | 2 +-
 extras/graphics/mercury_cairo/cairo.pattern.m | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/extras/graphics/mercury_cairo/cairo.m b/extras/graphics/mercury_cairo/cairo.m
index 5e52040..e8c2970 100644
--- a/extras/graphics/mercury_cairo/cairo.m
+++ b/extras/graphics/mercury_cairo/cairo.m
@@ -507,7 +507,7 @@
 :- pred paint_with_alpha(context(S)::in, float::in, io::di, io::uo) is det.
 
     % cairo.stroke(Context, !IO):
-    % Stork the current path according to the current line width, line join,
+    % Stroke the current path according to the current line width, line join,
     % line cap, and dash settings for Context.
     % The current path will be cleared.
     %
diff --git a/extras/graphics/mercury_cairo/cairo.pattern.m b/extras/graphics/mercury_cairo/cairo.pattern.m
index b4313c9..5c5b048 100644
--- a/extras/graphics/mercury_cairo/cairo.pattern.m
+++ b/extras/graphics/mercury_cairo/cairo.pattern.m
@@ -98,7 +98,7 @@
 
 % TODO: NYI.
 % :- pred get_color_stop_count
-% :- pred get_colourt_stop_rgba
+% :- pred get_color_stop_rgba
 
     % pattern.create_rgb(Red, Green, Blue, Pattern, !IO):
     % Pattern is a new pattern corresponding to an opaque color.
-- 
2.1.2




More information about the reviews mailing list