[pango] Use g_snprintf()



commit e95a0ecd5d1bbcc0c96fc52160edc18292f66f04
Author: Behdad Esfahbod <behdad behdad org>
Date:   Fri Mar 15 05:56:14 2013 -0400

    Use g_snprintf()

 tests/test-pangocairo-threads.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/test-pangocairo-threads.c b/tests/test-pangocairo-threads.c
index 1dfe53c..7234954 100644
--- a/tests/test-pangocairo-threads.c
+++ b/tests/test-pangocairo-threads.c
@@ -89,7 +89,7 @@ main (int argc, char **argv)
       char buf[10];
       cairo_surface_t *surface = create_surface ();
       g_ptr_array_add (surfaces, surface);
-      snprintf (buf, sizeof (buf), "%d", i);
+      g_snprintf (buf, sizeof (buf), "%d", i);
       g_ptr_array_add (threads,
                       g_thread_new (buf,
                                     thread_func,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]