Merge pull request #2140 from FedericoCeratto/devel

Fix some typos
This commit is contained in:
Andreas Rumpf 2015-02-16 20:32:24 +01:00
commit a5f8f538a2
111 changed files with 237 additions and 237 deletions

View file

@ -6,7 +6,7 @@ def\tskType\tsystem.string\tstring
> idetools --track:$TESTNIM,12,35 --def $SILENT
def\tskLet\t$MODULE.failtest.input\tTaintedString
# The following fail because they seem shifted one colum to the right.
# The following fail because they seem shifted one column to the right.
> idetools --track:$TESTNIM,12,16 --def $SILENT
def\tskTemplate\tsequtils.toSeq\tproc \(expr\): expr
> idetools --track:$TESTNIM,12,22 --def $SILENT

View file

@ -2,7 +2,7 @@ import unicode, sequtils
# This example shows that idetools returns proc as signature for everything
# which can be called. While a clever person would use the second column to
# differentiate betwen procs, methods and others, why does the output contain
# differentiate between procs, methods and others, why does the output contain
# incorrect information?
type

View file

@ -279,7 +279,7 @@ type
PSegmentQueryInfo* = ptr TSegmentQueryInfo
#/ Segment query info struct.
TSegmentQueryInfo*{.pf.} = object
shape*: PShape #/ The shape that was hit, NULL if no collision occured.
shape*: PShape #/ The shape that was hit, NULL if no collision occurred.
t*: CpFloat #/ The normalized distance along the query segment in the range [0, 1].
n*: TVector #/ The normal of the surface hit.
TShapeType*{.size: sizeof(cint).} = enum

View file

@ -8,7 +8,7 @@ proc compress*(source: string): string =
result.setLen destLen
var res = zlib.compress(cstring(result), addr destLen, cstring(source), sourceLen)
if res != Z_OK:
echo "Error occured: ", res
echo "Error occurred: ", res
elif destLen < result.len:
result.setLen(destLen)
@ -17,7 +17,7 @@ proc uncompress*(source: string, destLen: var int): string =
result.setLen destLen
var res = zlib.uncompress(cstring(result), addr destLen, cstring(source), source.len)
if res != Z_OK:
echo "Error occured: ", res
echo "Error occurred: ", res
when isMainModule:

View file

@ -1,5 +1,5 @@
# Test for a hard to fix internal error
# occured in the SDL library
# occurred in the SDL library
{.push dynlib: "SDL.dll", callconv: cdecl.}