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