Revert the last commit. It accidentally had autogenerated files in it.

git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@432 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Tim Cava
2013-11-07 03:00:24 +00:00
parent 276fd24258
commit 112b38ac7a
41 changed files with 222 additions and 623 deletions

View File

@@ -1170,9 +1170,9 @@ int term_init (char *term)
else if (current_term->TI_setf)
strcat(cbuf, (char *)tparm(current_term->TI_setf, i & 0x07, 0));
else if (i >= 8)
snprintf(cbuf, sizeof cbuf, "\033[1;%dm", (i & 0x07) + 30);
sprintf(cbuf, "\033[1;%dm", (i & 0x07) + 30);
else
snprintf(cbuf, sizeof cbuf, "\033[%dm", (i & 0x07) + 30);
sprintf(cbuf, "\033[%dm", (i & 0x07) + 30);
current_term->TI_forecolors[i] = m_strdup(cbuf);
}
@@ -1190,9 +1190,9 @@ int term_init (char *term)
else if (current_term->TI_setb)
strcat (cbuf, tparm(current_term->TI_setb, i & 0x07, 0));
else if (i >= 8)
snprintf(cbuf, sizeof cbuf, "\033[1;%dm", (i & 0x07) + 40);
sprintf(cbuf, "\033[1;%dm", (i & 0x07) + 40);
else
snprintf(cbuf, sizeof cbuf, "\033[%dm", (i & 0x07) + 40);
sprintf(cbuf, "\033[%dm", (i & 0x07) + 40);
current_term->TI_backcolors[i] = m_strdup(cbuf);
}