summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/sigproc.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/sigproc.h')
-rw-r--r--winsup/cygwin/sigproc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/sigproc.h b/winsup/cygwin/sigproc.h
index 3f713c348..2a55b12f7 100644
--- a/winsup/cygwin/sigproc.h
+++ b/winsup/cygwin/sigproc.h
@@ -65,7 +65,7 @@ public:
sigframe () {st = NULL;}
sigframe (sigthread &t, int up = 1)
{
- if (!t.frame || t.id == GetCurrentThreadId ())
+ if (!t.frame && t.id == GetCurrentThreadId ())
set (t, up);
else
st = NULL;