File Terminal-0.4.8-fix-help.patch of Package Terminal

Index: Terminal-0.4.8/terminal/terminal-dialogs.c
===================================================================
--- Terminal-0.4.8.orig/terminal/terminal-dialogs.c
+++ Terminal-0.4.8/terminal/terminal-dialogs.c
@@ -285,7 +285,7 @@ terminal_dialogs_show_help (GtkWindow
   /* build the full uri, fallback to online docs if nothing was found */
   if (G_LIKELY (exists))
     {
-      uri = g_strconcat ("file://", filename, "#", offset, NULL);
+      uri = g_strconcat ("file://", filename, (offset) ? ("#", offset) : "", NULL);
     }
   else if (terminal_dialogs_show_help_ask_online (parent))
     {
openSUSE Build Service is sponsored by