mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-29 07:58:28 +00:00
* gtkutil.c (get_utf8_string): Remove redundant assignment.
sprintf already null-terminates its output.
This commit is contained in:
parent
b3b4476b09
commit
4495ff3898
@ -1,5 +1,8 @@
|
||||
2012-06-25 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* gtkutil.c (get_utf8_string): Remove redundant assignment.
|
||||
sprintf already null-terminates its output.
|
||||
|
||||
* xfns.c (x_window): Remove redundant cast.
|
||||
|
||||
2012-06-25 Dmitry Antipov <dmantipov@yandex.ru>
|
||||
|
@ -525,7 +525,6 @@ get_utf8_string (const char *str)
|
||||
{
|
||||
strncpy (up, (char *)p, bytes_written);
|
||||
sprintf (up + bytes_written, "\\%03o", p[bytes_written]);
|
||||
up[bytes_written+4] = '\0';
|
||||
up += bytes_written+4;
|
||||
p += bytes_written+1;
|
||||
g_error_free (err);
|
||||
|
Loading…
Reference in New Issue
Block a user