Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
ca9fceb2
"tools/vscode:/vscode.git/clone" did not exist on "d7644ef2b7234520ddcfe882cf37fd62c2300581"
Commit
ca9fceb2
authored
Nov 04, 2017
by
Gilles Rochefort
Committed by
Davis E. King
Nov 03, 2017
Browse files
Remove unused variable (#919)
parent
69ea3bd4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
dlib/gui_widgets/widgets.cpp
dlib/gui_widgets/widgets.cpp
+0
-3
No files found.
dlib/gui_widgets/widgets.cpp
View file @
ca9fceb2
...
@@ -5628,9 +5628,6 @@ namespace dlib
...
@@ -5628,9 +5628,6 @@ namespace dlib
const
unsigned
long
padding
=
style
->
get_padding
(
*
mfont
);
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
// 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
));
scroll_to_rect
(
centered_rect
(
cursor_rect
,
cursor_rect
.
width
()
+
padding
+
6
,
cursor_rect
.
height
()
+
1
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment