lib: misc typos
authorAlexis Laferrière <alexis.laf@xymus.net>
Mon, 10 Jul 2017 17:56:04 +0000 (13:56 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Fri, 28 Jul 2017 19:06:27 +0000 (15:06 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

lib/a_star.nit
lib/gamnit/camera_control_linux.nit

index cc0cba3..db80519 100644 (file)
@@ -90,7 +90,7 @@ class Node
        # lifetime limited to evocation of `path_to`
        private var open: Bool = false
 
-       # Main functionnality, returns path from `self` to `dest`
+       # Main functionality, returns path from `self` to `dest`
        fun path_to(dest: N, max_cost: Int, context: PathContext): nullable AStarPath[N]
        do
                return path_to_alts(dest, max_cost, context, null)
index 8c92e91..2aa5d48 100644 (file)
@@ -23,7 +23,7 @@ redef class EulerCamera
        # Zoom factor, default at 1.2, higher means more reactive zoom effect
        var camera_zoom_mod = 1.2 is writable
 
-       # Scoll trigger button mask from SDL2 (1: left, 2: middle, 4: right)
+       # Scroll trigger button mask from SDL2 (1: left, 2: middle, 4: right)
        #
        # Set to 0 to deactivate the scrolling feature.
        var camera_pan_mask = 2 is writable