Skip to content

Commit 26db7c6

Browse files
committed
Fix erroneous comparison with nil in dynamic module
1 parent ba55e09 commit 26db7c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gdb-module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@ static void handleMiResultRecord(emacs_env *Env, mi_result_record *Record, char
851851
case GDBWIRE_MI_CONNECTED: {
852852
switch(Context.Type) {
853853
case Context_TtySet: {
854-
if(Context.Data != Nil) {
854+
if(isNotNil(Env, Context.Data)) {
855855
funcall(Env, DeleteProcess, 1, (emacs_value[]){Context.Data});
856856
}
857857
} break;

0 commit comments

Comments
 (0)