* font-viewer/ftstream-vfs.c: (vfs_stream_open): Safely printf
strings. Bug #581731.
This commit is contained in:
parent
af03baa1bc
commit
4864d99794
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2009-05-07 Christian Persch <chpe@gnome.org>
|
||||
|
||||
* font-viewer/ftstream-vfs.c: (vfs_stream_open): Safely printf
|
||||
strings. Bug #581731.
|
||||
|
||||
2009-03-16 Rodrigo Moya <rodrigo@gnome-db.org>
|
||||
|
||||
* NEWS:
|
||||
|
|
|
@ -80,7 +80,7 @@ vfs_stream_open(FT_Stream stream,
|
|||
|
||||
handle = g_file_read (file, NULL, &error);
|
||||
if (! handle) {
|
||||
g_message (error->message);
|
||||
g_message ("%s", error->message);
|
||||
g_object_unref (file);
|
||||
|
||||
g_error_free (error);
|
||||
|
@ -92,7 +92,7 @@ vfs_stream_open(FT_Stream stream,
|
|||
g_object_unref (file);
|
||||
|
||||
if (! info) {
|
||||
g_warning (error->message);
|
||||
g_warning ("%s", error->message);
|
||||
|
||||
g_error_free (error);
|
||||
return FT_Err_Cannot_Open_Resource;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue