Browse files

fixed bad layout point struct types

  • Loading branch information...
1 parent 56174b8 commit 047bdd802ab8600cbf366f6d929831d08db8855d @rsms committed Jan 18, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/KTextView.mm
View
4 src/KTextView.mm
@@ -117,8 +117,8 @@ - (void)drawRect:(NSRect)dirtyRect {
// border color?
if (kColumnGuideColor) {
[kColumnGuideColor set];
- CGPoint srcPoint = CGPointMake(columnGuidePosition_, 0.0);
- CGPoint dstPoint = CGPointMake(columnGuidePosition_,
+ NSPoint srcPoint = NSMakePoint(columnGuidePosition_, 0.0);
+ NSPoint dstPoint = NSMakePoint(columnGuidePosition_,
visibleRect.size.height);
[NSBezierPath setDefaultLineWidth:1.0];
[NSBezierPath strokeLineFromPoint:srcPoint toPoint:dstPoint];

0 comments on commit 047bdd8

Please sign in to comment.