about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-06 04:19:56 -0500
committerJune McEnroe <june@causal.agency>2020-02-06 04:19:56 -0500
commite9394bfff9dff32b98890b89ecdc884ffb4cba79 (patch)
tree6c00820982a1e0ef492a2230f500bc2a75b3b476
parentHandle mentions (diff)
downloadcatgirl-e9394bfff9dff32b98890b89ecdc884ffb4cba79.tar.gz
catgirl-e9394bfff9dff32b98890b89ecdc884ffb4cba79.zip
Set id color to Default on allocation
-rw-r--r--chat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/chat.h b/chat.h
index 112530d..8279d1b 100644
--- a/chat.h
+++ b/chat.h
@@ -51,6 +51,7 @@ static inline size_t idFor(const char *name) {
 	if (id) return id;
 	idNames[idNext] = strdup(name);
 	if (!idNames[idNext]) err(EX_OSERR, "strdup");
+	idColors[idNext] = Default;
 	return idNext++;
 }
 
span>Disable tab indicators in iTermJune McEnroe 2016-07-30Color PreProc DarkGreenJune McEnroe 2016-07-29Color Structure and Typedef in grayJune McEnroe 2016-07-27Color comments DarkBlue and LightBlueJune McEnroe 2016-07-27Color macros in yellowJune McEnroe 2016-07-26Colorscheme colors and schemesJune McEnroe 2016-07-26Add ''subtle'' colorschemeJune McEnroe 2016-07-26Add htoprcJune McEnroe 2016-07-24Add may and refactor ssh configJune McEnroe 2016-07-18Disable cursorlineJune McEnroe 2016-07-18Use hard constrast gruvbox darkJune McEnroe 2016-07-15Remove vim configurationJune McEnroe 2016-07-15Add readline to README configurations listJune McEnroe 2016-07-15Add vendor script to READMEJune McEnroe 2016-07-15Pull latest pathogen and gruvboxJune McEnroe