diff --git a/README.rdoc b/README.rdoc
index b35f566..fb8dd95 100644
--- a/README.rdoc
+++ b/README.rdoc
@@ -162,7 +162,7 @@ for code borrowing. 'ffi' gem serves as a solid basis for this library, allowing
use it for multiple Ruby implementations.
== Note on Patches/Pull Requests
-
+
* Fork the project.
* Make your feature addition or bug fix.
* Add tests for it. This is important so I don't break it in a
diff --git a/lib/win/gui.rb b/lib/win/gui.rb
index 2be7f4a..a3ab162 100644
--- a/lib/win/gui.rb
+++ b/lib/win/gui.rb
@@ -5,7 +5,7 @@
require 'win/gui/menu'
module Win
-
+
# Contains several modules defining Win32 API functions and constants related to Windows GUI (Graphical User Interface)
#
module Gui
diff --git a/lib/win/gui/dialog.rb b/lib/win/gui/dialog.rb
index ec50538..49dbfee 100644
--- a/lib/win/gui/dialog.rb
+++ b/lib/win/gui/dialog.rb
@@ -72,7 +72,7 @@ module Dialog
# The user must respond to the message box before continuing work in the window identified by the hWnd
# parameter. However, the user can move to the windows of other threads and work in those windows.
# Depending on the hierarchy of windows in the App, the user may be able to move to other
- # windows within the thread. All child windows of the parent of the message box are automatically
+ # windows within the thread. All child windows of the parent of the message box are automatically
# disabled, but pop-up windows are not.
# MB_APPLMODAL is the default if neither MB_SYSTEMMODAL nor MB_TASKMODAL is specified.
MB_APPLMODAL = 0x00000000
@@ -207,7 +207,7 @@ module Dialog
# *Remarks*:
# You can use the GetDlgItem function with any parent-child window pair, not just with dialog boxes.
# As long as the hDlg parameter specifies a parent window and the child window has a unique identifier
- # (as specified by the hMenu parameter in the CreateWindow or CreateWindowEx function that created the
+ # (as specified by the hMenu parameter in the CreateWindow or CreateWindowEx function that created the
# child window), GetDlgItem returns a valid handle to the child window.
# ---
# Enhanced (snake_case) API: returns nil if function fails
diff --git a/lib/win/gui/input.rb b/lib/win/gui/input.rb
index f95c37a..25855c5 100644
--- a/lib/win/gui/input.rb
+++ b/lib/win/gui/input.rb
@@ -288,7 +288,7 @@ module Input
# :call-seq:
# x, y = get_cursor_pos()
#
- function :GetCursorPos, [:pointer], :int8,
+ function :GetCursorPos, [:pointer], :int8,
&->(api) {
point = FFI::MemoryPointer.new(:long, 2)
res = api.call point
diff --git a/lib/win/gui/menu.rb b/lib/win/gui/menu.rb
index 0c436f6..847ff61 100644
--- a/lib/win/gui/menu.rb
+++ b/lib/win/gui/menu.rb
@@ -557,7 +557,7 @@ module Menu
# data related to the menu item. The value is in the itemData member of the structure
# pointed to by the lParam parameter of the WM_MEASUREITEM or WM_DRAWITEM message
# sent when the menu is created or its appearance is updated.
- # MF_STRING:: Contains a pointer to a null-terminated string.
+ # MF_STRING:: Contains a pointer to a null-terminated string.
#
# *Returns*:: If the function succeeds, the return value is nonzero. If the function fails, the return
# value is zero. To get extended error information, call GetLastError.
@@ -730,7 +730,7 @@ module Menu
#
# ---
# Enhanced (snake_case) API: returns true/false instead of 1/0
- #
+ #
# :call-seq:
# success = delete_menu(menu_handle, position, flags)
#
diff --git a/lib/win/gui/message.rb b/lib/win/gui/message.rb
index 11faebf..3164643 100644
--- a/lib/win/gui/message.rb
+++ b/lib/win/gui/message.rb
@@ -6,7 +6,7 @@ module Gui
#
# Below is a table of system-defined message prefixes:
#
- # *Prefix*:: *Message* *category*
+ # *Prefix*:: *Message* *category*
# ABM:: App desktop toolbar
# BM:: Button control
# CB:: Combo box control
@@ -586,7 +586,7 @@ class Msg < FFI::Struct
# GetMessage does not remove WM_PAINT messages from the queue. The messages remain in the queue until
# processed.
#
- # Windows XP: If a top-level window stops responding to messages for more than several seconds, the
+ # Windows XP: If a top-level window stops responding to messages for more than several seconds, the
# system considers the window to be not responding and replaces it with a ghost window that has the same
# z-order, location, size, and visual attributes. This allows the user to move it, resize it, or even
# close the App. However, these are the only actions available because the App is
diff --git a/lib/win/gui/window.rb b/lib/win/gui/window.rb
index ebb38c8..a8c0766 100644
--- a/lib/win/gui/window.rb
+++ b/lib/win/gui/window.rb
@@ -425,7 +425,7 @@ def return_string( encode = nil ) #:nodoc:
# ---
# *Remarks*:
# A thread cannot use DestroyWindow to destroy a window created by a different thread. Use a convenience
- # method destroy_unowned_window instead (it relies on
+ # method destroy_unowned_window instead (it relies on
# If the window being destroyed is a child window that does not have the WS_EX_NOPARENTNOTIFY style, a
# WM_PARENTNOTIFY message is sent to the parent.
#
@@ -636,7 +636,7 @@ def return_string( encode = nil ) #:nodoc:
##
# SetForegroundWindow function puts the thread that created the specified window into the foreground
- # and activates the window. Keyboard input is directed to the window, and various visual cues are
+ # and activates the window. Keyboard input is directed to the window, and various visual cues are
# changed for the user. The system assigns a slightly higher priority to the thread that created the
# foreground window than it does to other threads.
#