summaryrefslogtreecommitdiff
path: root/src/perl/ui/Formats.xs
diff options
context:
space:
mode:
Diffstat (limited to 'src/perl/ui/Formats.xs')
-rw-r--r--src/perl/ui/Formats.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/perl/ui/Formats.xs b/src/perl/ui/Formats.xs
index 5c59bc5c..c10f0b4e 100644
--- a/src/perl/ui/Formats.xs
+++ b/src/perl/ui/Formats.xs
@@ -90,7 +90,7 @@ PREINIT:
PPCODE:
charargs = g_new0(char *, items-5+1);
for (n = 5; n < items; n++) {
- charargs[n-5] = (char *)SvPV(ST(n), PL_na);
+ charargs[n-5] = SvPV_nolen(ST(n));
}
format_create_dest(&dest, server, target, 0, window);