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:
@@ -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