mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/fiddle/win32/lib/win32/registry.rb
(Win32::Registry::API#make_wstr): same as r41922. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
342259a328
commit
e9ce31bf68
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Fri Jul 12 18:10:46 2013 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* ext/fiddle/win32/lib/win32/registry.rb
|
||||
(Win32::Registry::API#make_wstr): same as r41922.
|
||||
|
||||
Fri Jul 12 16:28:37 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* encoding.c (rb_enc_associate_index): refill the terminator if it
|
||||
|
|
|
@ -267,7 +267,7 @@ For detail, see the MSDN[http://msdn.microsoft.com/library/en-us/sysinfo/base/pr
|
|||
end
|
||||
|
||||
def make_wstr(str)
|
||||
str.encode(WCHAR) + WCHAR_NUL
|
||||
str.encode(WCHAR)
|
||||
end
|
||||
|
||||
def OpenKey(hkey, name, opt, desired)
|
||||
|
|
Loading…
Reference in a new issue