Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/majn/telegram-purple.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhimselfv <me@boku.ru>2019-04-01 17:51:45 +0300
committerhimselfv <me@boku.ru>2019-05-05 16:10:16 +0300
commit61fd3ad65b164d8f15955dcbd10d53f1bfa335fa (patch)
tree406c4e0ef5d0107b542c4194a4dc4f212010620e
parent9e6a0e850a3640eed5c14259129a62b210218e4d (diff)
Minor fix: Captions in replies should be on the same line as the media placeholder
-rw-r--r--tgp-msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tgp-msg.c b/tgp-msg.c
index a4bef11..91ed2a9 100644
--- a/tgp-msg.c
+++ b/tgp-msg.c
@@ -523,7 +523,7 @@ static char *tgp_msg_reply_display (struct tgl_state *TLS, tgl_peer_t *replyee,
if (str_not_empty (reply->media.caption)) {
char *old = quote;
if (str_not_empty (quote))
- quote = g_strdup_printf ("%s<br>%s", old, reply->media.caption);
+ quote = g_strdup_printf ("%s %s", old, reply->media.caption);
else
quote = g_strdup(reply->media.caption);
g_free (old);