|
![](/i/fill.gif) |
In tokenize.c, if I replace Fopen_Ungetc() with the following code,
MegaPov works on MS-DOS style scene files.
This is an inelegant way to go about it, but arf.
/***********************/
#ifdef __GO32__
static void Fopen_Ungetc (DATA_FILE *File, int Ch)
{
if(Ch=='\n')
ungetc ('\r', (FILE *) File->Data);
ungetc (Ch, (FILE *) File->Data);
}
#else
static void Fopen_Ungetc (DATA_FILE *File, int Ch)
{
ungetc (Ch, (FILE *) File->Data);
}
#endif
/***********************/
Post a reply to this message
|
![](/i/fill.gif) |