Uninline debug_register_func

This commit is contained in:
Alexander Batalov 2023-07-19 11:45:55 +03:00
parent a7628ccaea
commit 90d1545bb2
1 changed files with 2 additions and 8 deletions

View File

@ -104,14 +104,8 @@ void _debug_register_env()
// NOTE: Uninline. // NOTE: Uninline.
_debug_register_screen(); _debug_register_screen();
} else if (strcmp(copy, "gnw") == 0) { } else if (strcmp(copy, "gnw") == 0) {
if (gDebugPrintProc != _win_debug) { // NOTE: Uninline.
if (_fd != NULL) { _debug_register_func(_win_debug);
fclose(_fd);
_fd = NULL;
}
gDebugPrintProc = _win_debug;
}
} }
internal_free(copy); internal_free(copy);