summaryrefslogtreecommitdiff
path: root/src/dxr3
diff options
context:
space:
mode:
authorPetri Hintukainen <phintuka@users.sourceforge.net>2011-10-10 12:41:10 +0300
committerPetri Hintukainen <phintuka@users.sourceforge.net>2011-10-10 12:41:10 +0300
commit9f105cfe9059df4a9a1f5278679151a5d9c387f6 (patch)
tree8cb7a3700bd94fbb54e51d32dc353355f3f27b09 /src/dxr3
parent83049ca9ad0d39a5795b586b76f954748a3de316 (diff)
downloadxine-lib-9f105cfe9059df4a9a1f5278679151a5d9c387f6.tar.gz
xine-lib-9f105cfe9059df4a9a1f5278679151a5d9c387f6.tar.bz2
Fixed asprintf usage
Diffstat (limited to 'src/dxr3')
-rw-r--r--src/dxr3/video_out_dxr3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dxr3/video_out_dxr3.c b/src/dxr3/video_out_dxr3.c
index 5718c0687..ed5ae4b58 100644
--- a/src/dxr3/video_out_dxr3.c
+++ b/src/dxr3/video_out_dxr3.c
@@ -1361,7 +1361,7 @@ static int dxr3_overlay_read_state(dxr3_overlay_t *this)
* (used by .overlay/res file) */
setlocale(LC_NUMERIC, "C");
- asprintf(&fname, "%s/.overlay/res_%dx%dx%d", getenv("HOME"),
+ fname = _x_asprintf("%s/.overlay/res_%dx%dx%d", getenv("HOME"),
this->screen_xres, this->screen_yres, this->screen_depth);
llprintf(LOG_OVR, "attempting to open %s\n", fname);
if (!(fp = fopen(fname, "r"))) {