projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
small optims.
[apps/madmutt.git]
/
lib-ui
/
color.c
diff --git
a/lib-ui/color.c
b/lib-ui/color.c
index
2f286f4
..
ca0ab98
100644
(file)
--- a/
lib-ui/color.c
+++ b/
lib-ui/color.c
@@
-21,7
+21,6
@@
#include <lib-lib/macros.h>
#include <lib-lib/buffer.h>
#include <lib-lib/mapping.h>
#include <lib-lib/macros.h>
#include <lib-lib/buffer.h>
#include <lib-lib/mapping.h>
-#include <lib-lib/debug.h>
#include "curses.h"
#include "curses.h"
@@
-249,8
+248,6
@@
int mutt_alloc_color (int fg, int bg)
init_pair (i, fg, bg);
init_pair (i, fg, bg);
- debug_print (1, ("Color pairs used so far: %d\n", UserColors));
-
return (COLOR_PAIR (p->index));
}
return (COLOR_PAIR (p->index));
}
@@
-266,7
+263,6
@@
void mutt_free_color (int fg, int bg)
return;
UserColors--;
return;
UserColors--;
- debug_print (1, ("Color pairs used so far: %d\n", UserColors));
if (p == ColorList) {
ColorList = ColorList->next;
if (p == ColorList) {
ColorList = ColorList->next;
@@
-418,7
+414,6
@@
_mutt_parse_uncolor (BUFFER * buf, BUFFER * s, unsigned long data __attribute__
if (!m_strcmp(buf->data, tmp->pattern)) {
if (!do_cache)
do_cache = 1;
if (!m_strcmp(buf->data, tmp->pattern)) {
if (!do_cache)
do_cache = 1;
- debug_print (1, ("Freeing pattern \"%s\" from ColorIndexList\n", tmp->pattern));
if (last)
last->next = tmp->next;
else
if (last)
last->next = tmp->next;
else