baresip/baresip-2.9.0-gtk-dial-history.patch

23 lines
676 B
Diff

From 6574b653af4e9c8284b6fbd902841a6fc22281bc Mon Sep 17 00:00:00 2001
From: mbattista <m0battista@gmail.com>
Date: Tue, 15 Nov 2022 08:13:22 +0100
Subject: [PATCH] Space at the beginning of sip: creates errors (#2329)
---
modules/gtk/gtk_mod.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gtk/gtk_mod.c b/modules/gtk/gtk_mod.c
index c359a40f1..77aa57bff 100644
--- a/modules/gtk/gtk_mod.c
+++ b/modules/gtk/gtk_mod.c
@@ -168,7 +168,7 @@ static void menu_on_dial_history(GtkMenuItem *menuItem, gpointer arg)
if (!label_1)
return;
- label_1[0] = ' ';
+ label_1 = label_1 + 1;
uri = strtok(label_1, "]");
gtk_mod_connect(mod, uri);