Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jruby/jruby
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 7403ca07e7e5
Choose a base ref
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4319b5b46358
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Jan 27, 2015

  1. Copy the full SHA
    a392065 View commit details

Commits on Feb 2, 2015

  1. Merge pull request #2523 from djberg96/master

    Modified the make_wstr method so that it appends a null character.
    enebo committed Feb 2, 2015
    Copy the full SHA
    4319b5b View commit details
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/ruby/stdlib/win32/registry.rb
2 changes: 1 addition & 1 deletion lib/ruby/stdlib/win32/registry.rb
Original file line number Diff line number Diff line change
@@ -280,7 +280,7 @@ def unpackqw(qw)
end

def make_wstr(str)
str.encode(WCHAR)
str.encode(WCHAR) + 0.chr.encode(WCHAR)
end

def OpenKey(hkey, name, opt, desired)