From 51dc1e2e8cf4adaa9bf0e1d12b1031a8b99e631f Mon Sep 17 00:00:00 2001 From: "Jeffrey C. Ollie" Date: Sat, 22 Feb 2025 13:05:54 -0600 Subject: [PATCH] gtk: fix typos --- src/apprt/gtk/Surface.zig | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/apprt/gtk/Surface.zig b/src/apprt/gtk/Surface.zig index 9836e7fbf..80039522b 100644 --- a/src/apprt/gtk/Surface.zig +++ b/src/apprt/gtk/Surface.zig @@ -353,9 +353,10 @@ cursor: ?*c.GdkCursor = null, /// pass it to GTK. title_text: ?[:0]const u8 = null, -/// The title of the surface as reported by the terminal. -/// If it is null, the title reported by the terminal is currently being used. -/// If the title was manually overriden by the user, this will be set to a non-null value representing the default terminal title. +/// The title of the surface as reported by the terminal. If it is null, the +/// title reported by the terminal is currently being used. If the title was +/// manually overridden by the user, this will be set to a non-null value +/// representing the default terminal title. title_from_terminal: ?[:0]const u8 = null, /// Our current working directory. We use this value for setting tooltips in @@ -967,7 +968,7 @@ pub fn setTitle(self: *Surface, slice: [:0]const u8, source: SetTitleSource) !vo }; errdefer alloc.free(copy); - // The user has overriden the title + // The user has overridden the title // We only want to update the terminal provided title so that it can be restored to the most recent state. if (self.title_from_terminal != null and source == .terminal) { alloc.free(self.title_from_terminal.?);