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);