diff options
author | Bardur Arantsson <bardur@scientician.net> | 2014-06-26 20:25:07 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2014-06-26 20:45:28 +0200 |
commit | 63e481780855d2d6469840d9ba853d91c6bb8c28 (patch) | |
tree | cc2058d41ea5fb6d6595d186183d7951b570e1ac /src/main-x11.c | |
parent | 442d21a78026ec83de4495a78d8e36aa39fa95b6 (diff) |
Replace usages of WIPE/C_WIPE with memset()
Diffstat (limited to 'src/main-x11.c')
-rw-r--r-- | src/main-x11.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main-x11.c b/src/main-x11.c index bccb4d85..d15415f2 100644 --- a/src/main-x11.c +++ b/src/main-x11.c @@ -707,7 +707,7 @@ static errr Infowin_init_data(Window dad, int x, int y, int w, int h, Window xid; /* Wipe it clean */ - (void)WIPE(Infowin, infowin); + memset(Infowin, 0, sizeof(struct infowin)); /*** Error Check XXX ***/ @@ -942,7 +942,7 @@ static errr Infoclr_init_data(Pixell fg, Pixell bg, int op, int stip) /*** Initialize ***/ /* Wipe the iclr clean */ - (void)WIPE(iclr, infoclr); + memset(iclr, 0, sizeof(struct infoclr)); /* Assign the GC */ iclr->gc = gc; @@ -1046,7 +1046,7 @@ static errr Infofnt_init_data(cptr name) /*** Init the font ***/ /* Wipe the thing */ - (void)WIPE(Infofnt, infofnt); + memset(Infofnt, 0, sizeof(struct infofnt)); /* Attempt to prepare it */ if (Infofnt_prepare(info)) |