mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-23 15:49:23 +00:00
* grub-core/normal/charset.c (bidi_line_wrap): Fix a spurious warning.
This commit is contained in:
1 parent
52bfedfa39
commit
ecdbae77ca
2 files changed
+5
-1
No files matched your search
@@ -1,3 +1,7 @@
|
||||
2012-03-08 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/normal/charset.c (bidi_line_wrap): Fix a spurious warning.
|
||||
|
||||
2012-03-08 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/boot/i386/pc/startup_raw.S (multiboot_trampoline): Fix
|
||||
|
||||
@@ -633,7 +633,7 @@ bidi_line_wrap (struct grub_unicode_glyph *visual_out,
|
||||
{
|
||||
int right_join = 0;
|
||||
signed i;
|
||||
for (i = k - 1; i >= 0 && (unsigned) i >= line_start;
|
||||
for (i = k - 1; i >= 0 && (unsigned) i + 1 > line_start;
|
||||
i--)
|
||||
{
|
||||
enum grub_join_type join_type = get_join_type (visual[i].base);
|
||||
|
||||
Reference in new issue
Block a user