Uninline debug_register_func
This commit is contained in:
parent
a7628ccaea
commit
90d1545bb2
10
src/debug.cc
10
src/debug.cc
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue