mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
Replaced const_cast with str_unconst. Removed unused mvaddstr.
This commit is contained in:
parent
4486c5eec2
commit
2d64b1c884
@ -120,9 +120,8 @@ mc_addch (char c)
|
||||
#define addch(c) SLsmg_write_char(c)
|
||||
#endif
|
||||
|
||||
#define addstr(s) SLsmg_write_string(const_cast(char *, s))
|
||||
#define addstr(s) SLsmg_write_string(str_unconst(s))
|
||||
#define refresh() SLsmg_refresh()
|
||||
#define mvaddstr(y, x, s) SLsmg_gotorc(y, x); SLsmg_write_string(const_cast(char *, s))
|
||||
#define endwin() SLsmg_reset_smg()
|
||||
|
||||
#define SLsmg_draw_double_box(r,c,dr,dc) SLsmg_draw_box ((r), (c), (dr), (dc))
|
||||
|
Loading…
Reference in New Issue
Block a user