finish mapglyph() removal
This commit is contained in:
@@ -125,7 +125,7 @@ curses_add_inv(int y,
|
||||
int symbol = 0;
|
||||
attr_t glyphclr;
|
||||
|
||||
mapglyph(glyph, &symbol, &color, &dummy, u.ux, u.uy, 0);
|
||||
/* mapglyph(glyph, &symbol, &color, &dummy, u.ux, u.uy, 0); */
|
||||
glyphclr = curses_color_attr(color, 0);
|
||||
wattron(win, glyphclr);
|
||||
wprintw(win, "%c ", symbol);
|
||||
|
||||
@@ -667,10 +667,6 @@ curses_print_glyph(winid wid, XCHAR_P x, XCHAR_P y, int glyph,
|
||||
unsigned int special;
|
||||
int attr = -1;
|
||||
|
||||
#if 0
|
||||
/* map glyph to character and color */
|
||||
mapglyph(glyph, &ch, &color, &special, x, y, 0); */
|
||||
#endif
|
||||
special = glyphmod[GM_FLAGS];
|
||||
ch = (int) glyphmod[GM_TTYCHAR];
|
||||
color = (int) glyphmod[GM_COLOR];
|
||||
|
||||
Reference in New Issue
Block a user