more unicode follow up
Set the unicode restriction bit when loading a symset when appropriate, and a win32 console refinement.
This commit is contained in:
@@ -2651,6 +2651,8 @@ int which_set;
|
||||
break;
|
||||
case 1: symset[which_set].rogue = 1;
|
||||
break;
|
||||
case 2: symset[which_set].unicode = 1;
|
||||
break;
|
||||
}
|
||||
break; /* while loop */
|
||||
}
|
||||
|
||||
@@ -611,7 +611,8 @@ int in_sym;
|
||||
cursor.Y = ttyDisplay->cury;
|
||||
WriteConsoleOutputAttribute(hConOut,&attr,1,cursor,&acount);
|
||||
#ifdef UNICODE_DRAWING
|
||||
if (symset[currentgraphics].name && iflags.unicodedisp)
|
||||
if (symset[currentgraphics].name &&
|
||||
symset[currentgraphics].unicode && iflags.unicodedisp)
|
||||
WriteConsoleOutputCharacterW(hConOut,(LPCWSTR)&in_sym,1,cursor,&ccount);
|
||||
else
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user