first character of message window special outside putmixed
Issue #1042 states the following: > Steps to reproduce: > *name pet so that first (or only) character is non-ascii: example Ä or emoji. > Most of the time the name is correctly shown. > If new row starts with pet's name then character is not printed correctly. The kludge for handling mixed glyphs and text shouldn't have been engaging the special handling of the first character for anything outside of putmixed(). This should resolve that.
This commit is contained in:
+1
-1
@@ -125,7 +125,7 @@ redotoplin(const char *str)
|
||||
|
||||
home();
|
||||
if (!ttyDisplay->topl_utf8) {
|
||||
if (*str & 0x80) {
|
||||
if (ttyDisplay->mixed && (*str & 0x80)) {
|
||||
/* kludge for the / command, the only time we ever want a */
|
||||
/* graphics character on the top line */
|
||||
g_putch((int) *str++);
|
||||
|
||||
Reference in New Issue
Block a user