Fix compilation errors and warning when disbaling libwebp

This commit is contained in:
Matthias Jentsch 2015-10-20 14:15:50 +02:00
parent ee9626e6da
commit b8e73f819c

View file

@ -356,7 +356,7 @@ static char *tgp_msg_sticker_display (struct tgl_state *TLS, tgl_peer_id_t from,
text = tgp_format_img (img);
*flags |= PURPLE_MESSAGE_IMAGES;
#else
char *txt_user = tgp_blist_peer_get_purple_name (TLS, from)
const char *txt_user = tgp_blist_peer_get_purple_name (TLS, from);
text = g_strdup_printf (_("%s sent a sticker."), txt_user);
*flags |= PURPLE_MESSAGE_SYSTEM;
#endif