Commit d82e6653 authored by Matt Mascarenhas's avatar Matt Mascarenhas

hmml_to_html.c: Fix typo in GenerateTopicColours()

parent f9bebe29
......@@ -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);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment