Skip to content

Commit 086510d

Browse files
committed
deimos.curses: Avoid generating .init for cchar_t
wchar_t.init is non-zero.
1 parent 0e1f601 commit 086510d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/deimos/curses.di

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ enum CCHARW_MAX = 5;
396396
struct cchar_t
397397
{
398398
attr_t attr;
399-
wchar_t[CCHARW_MAX] chars;
399+
wchar_t[CCHARW_MAX] chars = 0;
400400
version (all) {
401401
int ext_color; /* color pair, must be more than 16-bits */
402402
}

0 commit comments

Comments
 (0)