mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-23 18:49:48 +02:00
flower requested changes
This commit is contained in:
1 parent
b2f8c26282
commit
70d71f20e8
11 files changed
+118
-46
No files matched your search
@@ -12,7 +12,7 @@ int p1_log(log_level_t loglevel, const char *fname, int lineno, const char *fxna
|
||||
{
|
||||
if (verbose >= 5
|
||||
#ifdef DEV_BUILD
|
||||
&& !use_tui
|
||||
&& !checkrain_option_enabled(host_flags, host_option_tui)
|
||||
#endif
|
||||
) fprintf(stderr, "p1_log: loglevel %d from %s:%d:%s()\n", loglevel, fname, lineno, fxname);
|
||||
int ret = 0;
|
||||
@@ -58,7 +58,7 @@ int p1_log(log_level_t loglevel, const char *fname, int lineno, const char *fxna
|
||||
break;
|
||||
}
|
||||
#ifdef DEV_BUILD
|
||||
if (use_tui && tui_started) {
|
||||
if (checkrain_option_enabled(host_flags, host_option_tui) && tui_started) {
|
||||
newtComponent co = get_tui_log();
|
||||
if (co == NULL) {
|
||||
return 0; /* 0 bytes printed */
|
||||
|
||||
Reference in new issue
Block a user