Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
kojix2 committed Nov 8, 2023
1 parent 97f7e99 commit 63c4407
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def download_from_url(libname, lib_path, file_name, sha256sum_expected, url)
else
puts 'Check sha256sum'
v = check_sha256sum(lib_path, sha256sum_expected)
retrun false unless v
return false unless v
end

puts "Copying #{lib_path} to #{target_path}"
Expand Down
2 changes: 1 addition & 1 deletion examples/basic_table.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# Protects BlockCaller objects from garbage collection.
@block_callers = []
def rbcallback(*args, &block)
args << [0] if args.size == 1 # Argument types are ommited
args << [0] if args.size == 1 # Argument types are omitted
block_caller = Fiddle::Closure::BlockCaller.new(*args, &block)
@block_callers << block_caller
block_caller
Expand Down
2 changes: 1 addition & 1 deletion examples/basic_table_image.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
# Protects BlockCaller objects from garbage collection.
@block_callers = []
def rbcallback(*args, &block)
args << [0] if args.size == 1 # Argument types are ommited
args << [0] if args.size == 1 # Argument types are omitted
block_caller = Fiddle::Closure::BlockCaller.new(*args, &block)
@block_callers << block_caller
block_caller
Expand Down
2 changes: 1 addition & 1 deletion lib/libui.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def window_position(w)
end

# FIXME: This is a workaround for a old version of Fiddle.
# Fiddle 1.1.2 and above should be able to handle one charactor string.
# Fiddle 1.1.2 and above should be able to handle one character string.
# See https://github.com/ruby/fiddle/issues/96

def open_type_features_add(otf, a, b, c, d, value)
Expand Down

0 comments on commit 63c4407

Please sign in to comment.