hmml_to_html.c: Fix typo in GenerateTopicColours()

This commit is contained in:
Matt Mascarenhas 2017-09-07 23:32:57 +01:00
parent f9bebe2924
commit d82e665310
1 changed files with 2 additions and 2 deletions

View File

@ -1270,8 +1270,8 @@ GenerateTopicColours(char *Topic, char *TopicsDir)
char *TopicsBuffer; char *TopicsBuffer;
// TODO(matt): Consider (optionally) pulling this path from the config // TODO(matt): Consider (optionally) pulling this path from the config
char TopicsPath[255]; char TopicsPath[255];
CopyString(TopicsPath, "%s/cinera_topcs.css", TopicsDir); CopyString(TopicsPath, "%s/cinera_topics.css", TopicsDir);
if((TopicsFile = fopen("cinera_topics.css", "a+"))) if((TopicsFile = fopen(TopicsPath, "a+")))
{ {
fseek(TopicsFile, 0, SEEK_END); fseek(TopicsFile, 0, SEEK_END);
int TopicsLength = ftell(TopicsFile); int TopicsLength = ftell(TopicsFile);