Skip to content

Commit

Permalink
Merge 73b09fa into 9a439cd
Browse files Browse the repository at this point in the history
  • Loading branch information
dhoegh committed Dec 7, 2014
2 parents 9a439cd + 73b09fa commit e2d58cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyinit.jl
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function wbytestring(s::AbstractString)
end
else # UTF16, presumably
@assert sizeof(Cwchar_t) == 2
if defined(UTF16String) # Julia 0.3
if isdefined(Base, :UTF16String) # Julia 0.3
s16 = utf16(s)
w = Array(Cwchar_t, length(s.data)+1)
copy!(w,1, s16.data,1, length(s.data))
Expand Down

0 comments on commit e2d58cd

Please sign in to comment.