aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index a0fce4ec..a3992491 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -603,7 +603,7 @@ void Append##type##List(const ALCchar *name) \
return; \
} \
alc##type##List = temp; \
- sprintf(alc##type##List+alc##type##ListSize, "%s", name); \
+ memcpy(alc##type##List+alc##type##ListSize, name, len+1); \
alc##type##ListSize += len+1; \
alc##type##List[alc##type##ListSize] = 0; \
}