diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-11-21 09:46:40 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-11-21 09:46:40 +0100 |
commit | a89e70433b5f85d3fa54a846dba40c628302b758 (patch) | |
tree | 7ff91eda29cbb7c4a6cf870f728d45b8486f3f7d | |
parent | af30b771eec96819d5cc56cee30f108f202dc3f2 (diff) |
Use g_build_filename() instead of g_strdup_printf() to build filenames
-rw-r--r-- | data/ndk-build/gstreamer_android.c.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/ndk-build/gstreamer_android.c.in b/data/ndk-build/gstreamer_android.c.in index 61cfe79..4f8043f 100644 --- a/data/ndk-build/gstreamer_android.c.in +++ b/data/ndk-build/gstreamer_android.c.in @@ -354,7 +354,7 @@ gst_android_init (JNIEnv * env, jclass klass, jobject context) g_setenv ("XDG_CONFIG_HOME", files_dir, TRUE); g_setenv ("XDG_DATA_HOME", files_dir, TRUE); - fontconfig = g_strdup_printf ("%s/fontconfig", files_dir); + fontconfig = g_build_filename (files_dir, "fontconfig", NULL); g_setenv ("FONTCONFIG_PATH", fontconfig, TRUE); g_free (fontconfig); } |