aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--uxd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/uxd.c b/uxd.c
index 9094047..be49939 100644
--- a/uxd.c
+++ b/uxd.c
@@ -546,6 +546,8 @@ void append_right(char *str) {
void append_left(unsigned char byte, int dash, int hl_type) {
char tmpbuf[100];
+ if(byte & 0x80) line_all_ascii = 0;
+
if(!dump_column)
sprintf(left_buf, hex_addr_fmt, filepos + display_offset);
@@ -750,8 +752,6 @@ int dump_utf8_char(void) {
bad = 1;
}
- if(bad || cont_count) line_all_ascii = 0;
-
/* read and validate the continuation bytes, if any */
for(i = 0; i < cont_count; i++) {
int cb;