Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-grub2
Commits
6a6f8058
Commit
6a6f8058
authored
Apr 08, 2011
by
Vladimir 'phcoder' Serbinenko
Browse files
* grub-core/normal/term.c (print_ucs4_terminal): Don't try to put the
word on new line if it's too long anyway. Fixes a hang.
parent
2e335e90
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
6a6f8058
2011-04-08 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/normal/term.c (print_ucs4_terminal): Don't try to put the
word on new line if it's too long anyway. Fixes a hang.
2011-04-08 Vladimir Serbinenko <phcoder@gmail.com>
* include/grub/util/raid.h (grub_util_raid_getmembers): Make argument
grub-core/normal/term.c
View file @
6a6f8058
...
...
@@ -552,7 +552,7 @@ print_ucs4_terminal (const grub_uint32_t * str,
if
(
line_width
>
max_width
&&
last_space
>
line_start
)
ptr
=
last_space
;
else
if
(
line_width
>
max_width
&&
line_start
==
str
&&
start
width
!=
0
)
&&
line_start
==
str
&&
line_width
-
lastspacewidth
<
max_
width
-
5
)
{
ptr
=
str
;
lastspacewidth
=
startwidth
;
...
...
Write
Preview
Supports
Markdown
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