From: Siraaj Khandkar Date: Thu, 30 Jul 2015 15:35:43 +0000 (-0400) Subject: Fix typos. X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=0e7a4f608ade6d1b05556eb6c19c407dfb83d543;p=erlang-x-plane-data.git Fix typos. Thanks, @AeroNotix --- diff --git a/src/x_plane_data.erl b/src/x_plane_data.erl index 207673d..0a31a42 100644 --- a/src/x_plane_data.erl +++ b/src/x_plane_data.erl @@ -29,7 +29,7 @@ of_bin(<>) -> -spec of_bin(binary(), non_neg_integer()) -> hope_result:t(t(), parsing_error()). of_bin(<<"DATA", _PacketIndexByte:1/bytes, ContiguousBlocks/binary>>, MaxIndex) -> - % Packet index byte seems to be changing from X-Plane version to verion. + % Packet index byte seems to be changing from X-Plane version to version. % What is it's meaning? if byte_size(ContiguousBlocks) rem ?BYTE_SIZE_OF_EACH_BLOCK =:= 0 -> Blocks = blocks_split(ContiguousBlocks), diff --git a/src/x_plane_datum.erl b/src/x_plane_datum.erl index cd55c2f..e5f7faa 100644 --- a/src/x_plane_datum.erl +++ b/src/x_plane_datum.erl @@ -88,7 +88,7 @@ anonymous_of_bin( {error, {block_index_byte_out_of_range, Anonymous}} end; anonymous_of_bin(<>, _) -> - % This case shouldn't possible with a correct packet length, but we want to + % This case shouldn't be possible with a correct packet length, but we want to % allow for possibility of using this module independently of it's parent, % data module. {error, {block_structure_invalid, Block}}.