Browse Source

Fix typo in signal handler creation check

Palana 11 years ago
parent
commit
60cc91f9c9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libobs/obs.c

+ 1 - 1
libobs/obs.c

@@ -1285,7 +1285,7 @@ static inline bool obs_context_data_init_wrap(
 		return false;
 
 	context->signals = signal_handler_create();
-	if (!context)
+	if (!context->signals)
 		return false;
 
 	context->procs = proc_handler_create();