diff --git a/programs/other/table/calc.cpp b/programs/other/table/calc.cpp index b803239b0e..c981f36485 100644 --- a/programs/other/table/calc.cpp +++ b/programs/other/table/calc.cpp @@ -577,14 +577,14 @@ char *Kos_FileRead(kosFileInfo &fileInfo, int &code) char GetCsvSeparator(char *fname) { - char buffer[4096]; + char buffer[512]; kosFileInfo fileInfo; DWORD load_size; - if (filesize < 4096) { + if (filesize < 512) { load_size = filesize; } else { - load_size = 4096; + load_size = 512; } rtlDebugOutString(fname);