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.
_debug_register_screen();
} else if (strcmp(copy, "gnw") == 0) {
if (gDebugPrintProc != _win_debug) {
if (_fd != NULL) {
fclose(_fd);
_fd = NULL;
}
gDebugPrintProc = _win_debug;
}
// NOTE: Uninline.
_debug_register_func(_win_debug);
}
internal_free(copy);