summaryrefslogtreecommitdiff
path: root/win32/win32.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2018-08-05 06:41:05 -0600
committerKarl Williamson <khw@cpan.org>2018-08-06 10:02:12 -0600
commitf8db7d5b698ee09de200fdee909d6f4ea719ffac (patch)
treed38212cbf0b26ae7cf95d89a191cc02296d24966 /win32/win32.c
parent00d976bbd170bbdc283618817b02b1b8f46bddd4 (diff)
downloadperl-f8db7d5b698ee09de200fdee909d6f4ea719ffac.tar.gz
Use sv_catpvs where appropriate vs sv_catpv
This moves calculations definitely to compile time; some optimizing compilers may already do this, but some may not.
Diffstat (limited to 'win32/win32.c')
-rw-r--r--win32/win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c
index 769a0e11b3..8b2808c6d8 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -438,7 +438,7 @@ win32_get_xlib(const char *pl, WIN32_NO_REGISTRY_M_(const char *xlib)
sv1 = sv2;
} else if (sv2) {
dTHX;
- sv_catpv(sv1, ";");
+ sv_catpvs(sv1, ";");
sv_catsv(sv1, sv2);
}