diff --git a/hmml_to_html/hmml_to_html.c b/hmml_to_html/hmml_to_html.c index 08e3ba0..7160a11 100644 --- a/hmml_to_html/hmml_to_html.c +++ b/hmml_to_html/hmml_to_html.c @@ -208,7 +208,7 @@ CopyStringToBuffer(buffer *Dest, char *Format, ...) { fprintf(stderr, "CopyStringToBuffer: %s cannot accommodate %d-character string:\n" "\n" - "%.*s\n", Dest->ID, Length, Length, Format); + "%s\n", Dest->ID, Length, Format); __asm__("int3"); } } @@ -765,10 +765,6 @@ BuildQuote(quote_info *Info, char *Speaker, int ID) // Also notable that there are different paths for different projects char *QuoteDir = "/home/matt/git/GitHub/insofaras/25fc16d58a297a486334"; - if(!StringsDiffer(Speaker, "handmade_hero")) - { - QuoteDir = "/home/matt/git/GitHub/Chronister/01e754a09fd84c839ad7"; - } char Path[255] = {0}; sprintf(Path, "%s/#%s", QuoteDir, Speaker); diff --git a/hmmlconv/hmmlconv.c b/hmmlconv/hmmlconv.c index 690411e..3b329de 100644 --- a/hmmlconv/hmmlconv.c +++ b/hmmlconv/hmmlconv.c @@ -450,7 +450,7 @@ int ProcessFile(char *InFileName, FILE *InFile, FILE *OutFile) } else if(strncmp(LinePtr, "markers:", 8) == 0) { - fprintf(OutFile, "[video member=cmuratori project=hero twitch_username=handmade_hero title=\"%s\" platform=youtube id=%s annotator=Miblo]\n", Title, VideoID); + fprintf(OutFile, "[video member=cmuratori stream_platform=twitch stream_username=handmade_hero project=hero title=\"%s\" vod_platform=youtube id=%s annotator=Miblo]\n", Title, VideoID); State = STATE_MARKERS; } } break;