Commit 65934021 authored by vvaltman's avatar vvaltman

Fixed visualize key in nocolor output mode.

parent a00f67c3
...@@ -1374,7 +1374,24 @@ void interpreter (char *line UU) { ...@@ -1374,7 +1374,24 @@ void interpreter (char *line UU) {
for (j = 0; j < 4; j ++) { for (j = 0; j < 4; j ++) {
push_color (colors[x & 3]); push_color (colors[x & 3]);
push_color (COLOR_INVERSE); 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 ();
pop_color (); pop_color ();
x = x >> 2; x = x >> 2;
......
...@@ -457,6 +457,8 @@ void tglf_fetch_chat_full (struct tgl_chat *C) { ...@@ -457,6 +457,8 @@ void tglf_fetch_chat_full (struct tgl_chat *C) {
users[i].date = fetch_int (); users[i].date = fetch_int ();
} }
version = fetch_int (); version = fetch_int ();
} else {
fetch_int ();
} }
int *start = in_ptr; int *start = in_ptr;
assert (skip_type_any (TYPE_TO_PARAM (photo)) >= 0); assert (skip_type_any (TYPE_TO_PARAM (photo)) >= 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment