Skip to content

Commit 4c32321

Browse files
committed
Fix error in comment
1 parent f6dede1 commit 4c32321

File tree

3 files changed

+23
-3
lines changed

3 files changed

+23
-3
lines changed

.gitignore

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Mac OS X
2+
*.DS_Store
3+
4+
5+
# Xcode
6+
*.pbxuser
7+
*.mode2v3
8+
*.mode1v3
9+
*.perspective
10+
*.perspectivev3
11+
*.xcuserstate
12+
xcuserdata/
13+
14+
# Generic Files To Ignore
15+
*~
16+
*.swp
17+
*.out
18+
19+
# Visual Studio Code
20+
.vscode/

GreatCircle/CLLocation+GreatCircleExtensions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
* @param startLocation The start location.
144144
* @param endLocation The end location.
145145
*
146-
* @return The the midpoint location between this location and another location.
146+
* @return The cross track distance of this location relative to the specified start location and end location.
147147
*/
148148
- (CLLocationDistance)crossTrackDistanceToStartLocation:(nonnull CLLocation *)startLocation
149149
endLocation:(nonnull CLLocation *)endLocation;

GreatCircle/CLLocation+GreatCircleExtensions.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,14 +314,14 @@ - (nonnull CLLocation *)locationWithBearing:(CLLocationDirection)bearing
314314
}
315315
}
316316

317-
/**
317+
/*!
318318
* @brief
319319
* Returns the cross track distance of this location relative to the specified start location and end location.
320320
*
321321
* @param startLocation The start location.
322322
* @param endLocation The end location.
323323
*
324-
* @return The the midpoint location between this location and another location.
324+
* @return The cross track distance of this location relative to the specified start location and end location.
325325
*/
326326
- (CLLocationDistance)crossTrackDistanceToStartLocation:(nonnull CLLocation *)startLocation
327327
endLocation:(nonnull CLLocation *)endLocation

0 commit comments

Comments
 (0)