diff --git a/interface.c b/interface.c index 8bf80df..402519b 100644 --- a/interface.c +++ b/interface.c @@ -1374,7 +1374,24 @@ void interpreter (char *line UU) { for (j = 0; j < 4; j ++) { push_color (colors[x & 3]); push_color (COLOR_INVERSE); - printf (" "); + if (!disable_colors) { + printf (" "); + } else { + switch (x & 3) { + case 0: + printf (" "); + break; + case 1: + printf ("--"); + break; + case 2: + printf ("=="); + break; + case 3: + printf ("||"); + break; + } + } pop_color (); pop_color (); x = x >> 2; diff --git a/structures.c b/structures.c index 645bdad..54b18d7 100644 --- a/structures.c +++ b/structures.c @@ -457,6 +457,8 @@ void tglf_fetch_chat_full (struct tgl_chat *C) { users[i].date = fetch_int (); } version = fetch_int (); + } else { + fetch_int (); } int *start = in_ptr; assert (skip_type_any (TYPE_TO_PARAM (photo)) >= 0);