summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/io-jpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdk-pixbuf/io-jpeg.c')
-rw-r--r--gdk-pixbuf/io-jpeg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk-pixbuf/io-jpeg.c b/gdk-pixbuf/io-jpeg.c
index b88675c98..67327162b 100644
--- a/gdk-pixbuf/io-jpeg.c
+++ b/gdk-pixbuf/io-jpeg.c
@@ -514,7 +514,7 @@ gdk_pixbuf__jpeg_image_load (FILE *f, GError **error)
/* if orientation tag was found set an option to remember its value */
if (is_otag) {
- snprintf (otag_str, sizeof (otag_str), "%d", is_otag);
+ g_snprintf (otag_str, sizeof (otag_str), "%d", is_otag);
gdk_pixbuf_set_option (pixbuf, "orientation", otag_str);
}
@@ -923,7 +923,7 @@ gdk_pixbuf__jpeg_image_load_increment (gpointer data,
/* if orientation tag was found set an option to remember its value */
if (is_otag) {
- snprintf (otag_str, sizeof (otag_str), "%d", is_otag);
+ g_snprintf (otag_str, sizeof (otag_str), "%d", is_otag);
gdk_pixbuf_set_option (context->pixbuf, "orientation", otag_str);
}