summaryrefslogtreecommitdiff
path: root/FL/Fl_Text_Display.H
diff options
context:
space:
mode:
Diffstat (limited to 'FL/Fl_Text_Display.H')
-rw-r--r--FL/Fl_Text_Display.H4
1 files changed, 2 insertions, 2 deletions
diff --git a/FL/Fl_Text_Display.H b/FL/Fl_Text_Display.H
index 9e13e812e..c50e341c5 100644
--- a/FL/Fl_Text_Display.H
+++ b/FL/Fl_Text_Display.H
@@ -152,7 +152,7 @@ public:
int move_down();
int count_lines(int start, int end, bool start_pos_is_line_start) const;
int line_start(int pos) const;
- int line_end(int pos, bool start_pos_is_line_start) const;
+ int line_end(int startPos, bool startPosIsLineStart) const;
int skip_lines(int startPos, int nLines, bool startPosIsLineStart);
int rewind_lines(int startPos, int nLines);
void next_word(void);
@@ -287,7 +287,7 @@ public:
\param x number of pixels form the left margin
\return an approximate column number based on the main font
*/
- double x_to_col(double y) const;
+ double x_to_col(double x) const;
/**
Convert a column number into an x pixel position.