diff options
Diffstat (limited to 'sesman/chansrv/rail.c')
-rw-r--r-- | sesman/chansrv/rail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sesman/chansrv/rail.c b/sesman/chansrv/rail.c index 4d620c00..f3777970 100644 --- a/sesman/chansrv/rail.c +++ b/sesman/chansrv/rail.c @@ -739,7 +739,7 @@ rail_win_get_state(Window win) (unsigned char **)&data, &nitems); - if (data || nitems > 0) + if (data && nitems > 0) { rv = *(unsigned long *)data; XFree(data); |