diff --git a/ChangeLog b/ChangeLog
index e755c7437097114301fbf0778eda9dc2edf44936..09fcc6e91d47780e82684768177866c63f553714 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2016-03-14  Benno Schulenberg  <bensberg@justemail.net>
+	* src/color.c (color_update): Don't dereference a possible NULL.
+
 2016-03-13  Benno Schulenberg  <bensberg@justemail.net>
 	* src/search.c (regexp_init): Allow using the word boundary markers
 	\< and \> in search strings on non-GNU systems.  This is a partial
diff --git a/src/color.c b/src/color.c
index bbf1f85ddae30f4192a098cf4003d287e4d82e93..03263f8cb93a8870a7af5108a2362cbc825bf3d0 100644
--- a/src/color.c
+++ b/src/color.c
@@ -280,7 +280,7 @@ void color_update(void)
 
     /* If a syntax was found, compile its specified regexes (which have
      * already been checked for validity when they were read in). */
-    for (ink = sint->color; ink != NULL; ink = ink->next) {
+    for (ink = openfile->colorstrings; ink != NULL; ink = ink->next) {
 	if (ink->start == NULL) {
 	    ink->start = (regex_t *)nmalloc(sizeof(regex_t));
 	    regcomp(ink->start, fixbounds(ink->start_regex), ink->rex_flags);