Commit ca9fceb2 authored by Gilles Rochefort's avatar Gilles Rochefort Committed by Davis E. King

Remove unused variable (#919)

parent 69ea3bd4
......@@ -5628,9 +5628,6 @@ namespace dlib
const unsigned long padding = style->get_padding(*mfont);
// find the delta between the cursor rect and the corner of the total rect
point delta = point(cursor_rect.left(), cursor_rect.top()) - point(total_rect().left(), total_rect().top());
// now scroll us so that we can see the current cursor
scroll_to_rect(centered_rect(cursor_rect, cursor_rect.width() + padding + 6, cursor_rect.height() + 1));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment