From d2d5bdc8927d52b29af7d6b23e700ef246e59881 Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Fri, 8 Apr 2022 16:54:37 -0700 Subject: [PATCH] glfw: zig fmt Signed-off-by: Stephen Gutekanst --- glfw/src/Window.zig | 4 ++-- glfw/src/native.zig | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/glfw/src/Window.zig b/glfw/src/Window.zig index e03e8d8a..fcf657f8 100644 --- a/glfw/src/Window.zig +++ b/glfw/src/Window.zig @@ -1357,9 +1357,9 @@ pub inline fn getUserPointer(self: Window, comptime T: type) ?*T { /// /// @callback_param `window` the window that moved. /// @callback_param `xpos` the new x-coordinate, in screen coordinates, of the upper-left corner of -/// the content area of the window. +/// the content area of the window. /// @callback_param `ypos` the new y-coordinate, in screen coordinates, of the upper-left corner of -/// the content area of the window. +/// the content area of the window. /// /// wayland: This callback will never be called, as there is no way for an application to know its /// global position. diff --git a/glfw/src/native.zig b/glfw/src/native.zig index 94261afa..452ebcf8 100644 --- a/glfw/src/native.zig +++ b/glfw/src/native.zig @@ -20,7 +20,7 @@ pub const BackendOptions = struct { osmesa: bool = false, }; -/// This function returns a type which allows provides an interface to access +/// This function returns a type which allows provides an interface to access /// the native handles based on backends selected. /// /// The available window API options are: @@ -78,7 +78,7 @@ pub fn Native(comptime options: BackendOptions) type { /// Returns the display device name of the specified monitor. /// - /// return: The UTF-8 encoded display device name (for example `\\.\DISPLAY1\Monitor0`) + /// return: The UTF-8 encoded display device name (for example `\\.\DISPLAY1\Monitor0`) /// of the specified monitor. /// /// Possible errors include glfw.Error.NotInitalized. @@ -282,7 +282,7 @@ pub fn Native(comptime options: BackendOptions) type { /// Possible errors include glfw.Error.NotInitialized and glfw.Error.PlatformError. /// /// The returned string is allocated and freed by GLFW. You should not free it - /// yourself. It is valid until the next call to getX11SelectionString or + /// yourself. It is valid until the next call to getX11SelectionString or /// setX11SelectionString, or until the library is terminated. /// /// thread_safety: This function must only be called from the main thread.