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
redox-os
orbclient
Commits
0cf93f23
Verified
Commit
0cf93f23
authored
Nov 04, 2019
by
Jeremy Soller
Browse files
Fix for newer nightly
parent
d746b90d
Pipeline
#6368
failed with stage
in 59 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/lib.rs
View file @
0cf93f23
#![crate_name
=
"orbclient"
]
#![crate_type
=
"lib"
]
#![cfg_attr(feature
=
"no_std"
,
feature(alloc))]
#![cfg_attr(feature
=
"no_std"
,
no_std)]
#![deny(warnings)]
#[cfg(feature
=
"no_std"
)]
extern
crate
alloc
;
...
...
src/renderer.rs
View file @
0cf93f23
...
...
@@ -515,7 +515,7 @@ pub trait Renderer {
let
start
=
offset
+
l
*
width
;
let
mut
stop
=
start
+
w
;
let
begin
=
l
*
w
;
let
mut
end
=
begin
+
w
;
let
end
=
begin
+
w
;
//check boundaries
if
start_x
+
w
>
width
{
...
...
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