1
0
forked from aniani/vim

updated for version 7.0020

This commit is contained in:
Bram Moolenaar
2004-10-24 19:18:58 +00:00
parent 47136d70fa
commit 009b2592f7
33 changed files with 3218 additions and 1957 deletions

View File

@@ -94,7 +94,6 @@ nbdebug_log_init(
} else {
nb_dlevel = NB_TRACE; /* default level */
}
/* XSetErrorHandler(errorHandler); */
}
} /* end nbdebug_log_init */
@@ -126,7 +125,7 @@ nbdbg(
{
va_list ap;
if (nb_debug != NULL) {
if (nb_debug != NULL && nb_dlevel & NB_TRACE) {
va_start(ap, fmt);
vfprintf(nb_debug, fmt, ap);
va_end(ap);
@@ -136,6 +135,23 @@ nbdbg(
} /* end nbdbg */
void
nbprt(
char *fmt,
...)
{
va_list ap;
if (nb_debug != NULL && nb_dlevel & NB_PRINT) {
va_start(ap, fmt);
vfprintf(nb_debug, fmt, ap);
va_end(ap);
fflush(nb_debug);
}
} /* end nbprt */
static int
lookup(
char *file)