[gnome-terminal/gnome-3-6] screen: Fix opening http-less URLs



commit 61a7e5d122a4faf7033f73ebca3fa4cac24e7efd
Author: Matt Kraai <kraai ftbfs org>
Date:   Fri Oct 12 22:16:43 2012 +0200

    screen: Fix opening http-less URLs
    
    https://bugzilla.gnome.org/show_bug.cgi?id=685599

 src/terminal-util.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/terminal-util.c b/src/terminal-util.c
index 4023588..65af02e 100644
--- a/src/terminal-util.c
+++ b/src/terminal-util.c
@@ -207,7 +207,7 @@ terminal_util_open_url (GtkWidget *parent,
   switch (flavor)
     {
     case FLAVOR_DEFAULT_TO_HTTP:
-      uri = g_strdup_printf ("http:%s", orig_url);
+      uri = g_strdup_printf ("http://%s";, orig_url);
       break;
     case FLAVOR_EMAIL:
       if (g_ascii_strncasecmp ("mailto:";, orig_url, 7) != 0)



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