[gnome-terminal] all: Fix a typo in comments



commit 61c579cc422ff15d682e167591531dfa761c2a90
Author: Egmont Koblinger <egmont gmail com>
Date:   Mon Apr 3 21:32:53 2017 +0200

    all: Fix a typo in comments

 src/terminal-regex.c  |    2 +-
 src/terminal-screen.c |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/terminal-regex.c b/src/terminal-regex.c
index 251f658..e184414 100644
--- a/src/terminal-regex.c
+++ b/src/terminal-regex.c
@@ -242,7 +242,7 @@ main (int argc, char **argv)
   assert_match (REGEX_URL_AS_IS, "https://[dead::beef]:12345/ipv6";,     ENTIRE);
   assert_match (REGEX_URL_AS_IS, "https://[dead::beef:11.22.33.44]";,    ENTIRE);
   assert_match (REGEX_URL_AS_IS, "http://1.2.3.4:";,                     "http://1.2.3.4";);  /* TODO: 
can/should we totally abort here? */
-  assert_match (REGEX_URL_AS_IS, "https://dead::beef/no-brackets-ipv6";, "https://dead";);    /* detto */
+  assert_match (REGEX_URL_AS_IS, "https://dead::beef/no-brackets-ipv6";, "https://dead";);    /* ditto */
   assert_match (REGEX_URL_AS_IS, "http://111.222.333.444/";,             NULL);
   assert_match (REGEX_URL_AS_IS, "http://1.2.3.4:70000";,                "http://1.2.3.4";);  /* TODO: 
can/should we totally abort here? */
   assert_match (REGEX_URL_AS_IS, "http://[dead::beef:111.222.333.444]";, NULL);
diff --git a/src/terminal-screen.c b/src/terminal-screen.c
index 63f0ca2..9df4fc7 100644
--- a/src/terminal-screen.c
+++ b/src/terminal-screen.c
@@ -1608,7 +1608,7 @@ terminal_screen_button_press (GtkWidget      *widget,
 
           terminal_screen_do_popup (screen, event, url, url_flavor, number_info);
           url = NULL; /* adopted to the popup info */
-          number_info = NULL; /* detto */
+          number_info = NULL; /* ditto */
           return TRUE;
         }
       else if (!(event->state & (GDK_CONTROL_MASK | GDK_MOD1_MASK)))
@@ -1616,7 +1616,7 @@ terminal_screen_button_press (GtkWidget      *widget,
           /* do popup on shift+right-click */
           terminal_screen_do_popup (screen, event, url, url_flavor, number_info);
           url = NULL; /* adopted to the popup info */
-          number_info = NULL; /* detto */
+          number_info = NULL; /* ditto */
           return TRUE;
         }
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]