Avoid cutting in the middle of UTF-8 string.
* include/grub/charset.h (grub_getend): New function. * grub-core/script/function.c (grub_script_function_find): Use grub_getend. * grub-core/normal/completion.c (add_completion): Likewise.
This commit is contained in:
parent
f3cb4a4e57
commit
4d8c476536
4 changed files with 46 additions and 1 deletions
|
@ -1,3 +1,12 @@
|
|||
2011-12-25 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Avoid cutting in the middle of UTF-8 string.
|
||||
|
||||
* include/grub/charset.h (grub_getend): New function.
|
||||
* grub-core/script/function.c (grub_script_function_find): Use
|
||||
grub_getend.
|
||||
* grub-core/normal/completion.c (add_completion): Likewise.
|
||||
|
||||
2011-12-25 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/normal/charset.c (grub_ucs4_to_utf8): Small stylistic fix.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue