summaryrefslogtreecommitdiff
path: root/src/Fl_Input_.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_Input_.cxx')
-rw-r--r--src/Fl_Input_.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Input_.cxx b/src/Fl_Input_.cxx
index 9d13bd863..da3d8e3ba 100644
--- a/src/Fl_Input_.cxx
+++ b/src/Fl_Input_.cxx
@@ -461,7 +461,7 @@ int Fl_Input_::line_end(int i) const {
for (const char* p=value()+j; ;) {
char buf[MAXBUF];
p = expand(p, buf);
- int k = (int) (p-value());
+ int k = (int) (p-value());
if (k >= i) return k;
p++;
}