summaryrefslogtreecommitdiffstats
path: root/src/wins.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wins.c')
-rw-r--r--src/wins.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wins.c b/src/wins.c
index ca5171f..a9e93e0 100644
--- a/src/wins.c
+++ b/src/wins.c
@@ -266,7 +266,7 @@ wins_init (void)
void
wins_scrollwin_init (struct scrollwin *sw)
{
- EXIT_IF (sw == 0, "null pointer");
+ EXIT_IF (sw == NULL, "null pointer");
sw->win.p = newwin (sw->win.h, sw->win.w, sw->win.y, sw->win.x);
sw->pad.p = newpad (sw->pad.h, sw->pad.w);
sw->first_visible_line = 0;
@@ -277,7 +277,7 @@ wins_scrollwin_init (struct scrollwin *sw)
void
wins_scrollwin_delete (struct scrollwin *sw)
{
- EXIT_IF (sw == 0, "null pointer");
+ EXIT_IF (sw == NULL, "null pointer");
delwin(sw->win.p);
delwin(sw->pad.p);
}