Skip to content

Commit

Permalink
Fix typo...
Browse files Browse the repository at this point in the history
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2640 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
michaelrsweet committed Sep 26, 2002
1 parent 7ef44a5 commit bcde404
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Fl_Text_Display.cxx
@@ -1,5 +1,5 @@
//
// "$Id: Fl_Text_Display.cxx,v 1.12.2.29 2002/09/26 20:27:16 easysw Exp $"
// "$Id: Fl_Text_Display.cxx,v 1.12.2.30 2002/09/26 20:52:50 easysw Exp $"
//
// Copyright 2001-2002 by Bill Spitzak and others.
// Original code Copyright Mark Edel. Permission to distribute under
Expand Down Expand Up @@ -742,7 +742,7 @@ int Fl_Text_Display::position_to_xy( int pos, int* X, int* Y ) {

/* Calculate Y coordinate */
if (!position_to_line(pos, &visLineNum)) return 0;
if (visLineNum < 0 || visLineNum >= nNBufferLines) return 0;
if (visLineNum < 0 || visLineNum >= mNBufferLines) return 0;
fontHeight = mMaxsize;
*Y = text_area.y + visLineNum * fontHeight;

Expand Down Expand Up @@ -3008,5 +3008,5 @@ int Fl_Text_Display::handle(int event) {


//
// End of "$Id: Fl_Text_Display.cxx,v 1.12.2.29 2002/09/26 20:27:16 easysw Exp $".
// End of "$Id: Fl_Text_Display.cxx,v 1.12.2.30 2002/09/26 20:52:50 easysw Exp $".
//

0 comments on commit bcde404

Please sign in to comment.