fix prior

git-svn-id: svn://kolibrios.org@7898 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2020-05-08 12:23:04 +00:00
parent 00f9e8a85f
commit 5f2e203df5

View File

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