From d82e665310a76e92db5d361cf737d79243b86c81 Mon Sep 17 00:00:00 2001 From: Matt Mascarenhas Date: Thu, 7 Sep 2017 23:32:57 +0100 Subject: [PATCH] hmml_to_html.c: Fix typo in GenerateTopicColours() --- hmml_to_html/hmml_to_html.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hmml_to_html/hmml_to_html.c b/hmml_to_html/hmml_to_html.c index 003349a..2f834b8 100644 --- a/hmml_to_html/hmml_to_html.c +++ b/hmml_to_html/hmml_to_html.c @@ -1270,8 +1270,8 @@ GenerateTopicColours(char *Topic, char *TopicsDir) char *TopicsBuffer; // TODO(matt): Consider (optionally) pulling this path from the config char TopicsPath[255]; - CopyString(TopicsPath, "%s/cinera_topcs.css", TopicsDir); - if((TopicsFile = fopen("cinera_topics.css", "a+"))) + CopyString(TopicsPath, "%s/cinera_topics.css", TopicsDir); + if((TopicsFile = fopen(TopicsPath, "a+"))) { fseek(TopicsFile, 0, SEEK_END); int TopicsLength = ftell(TopicsFile);