summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2012-11-21 09:46:40 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2012-11-21 09:46:40 +0100
commita89e70433b5f85d3fa54a846dba40c628302b758 (patch)
tree7ff91eda29cbb7c4a6cf870f728d45b8486f3f7d
parentaf30b771eec96819d5cc56cee30f108f202dc3f2 (diff)
Use g_build_filename() instead of g_strdup_printf() to build filenames
-rw-r--r--data/ndk-build/gstreamer_android.c.in2
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);
}