table 0.99.3: fix several bugs

templates: upload to svn, add to ISO/res/templates


git-svn-id: svn://kolibrios.org@7544 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
2018-11-07 22:32:57 +00:00
parent 78003bd7a5
commit 60e27afe74
9 changed files with 954 additions and 781 deletions
+4 -9
View File
@@ -579,7 +579,6 @@ char GetCsvSeparator(char *fname)
char buffer[512];
kosFileInfo fileInfo;
rtlDebugOutString("hi");
rtlDebugOutString(fname);
strcpy(fileInfo.fileURL, fname);
@@ -720,12 +719,6 @@ int LoadFile(char *fname)
char *d, *s, *k;
int step = 0, items;
if (str_is_csv(fname))
return LoadCSV(fname);
//rtlDebugOutString(fname);
strcpy(fileInfo.fileURL,fname);
fileInfo.OffsetLow = 0;
fileInfo.OffsetHigh = 0;
@@ -740,11 +733,13 @@ int LoadFile(char *fname)
return -1;
}
if (str_is_csv(fname))
return LoadCSV(fname);
// clear the table
reinit();
//rtlDebugOutString("clear done");
filesize = bdvk.size_low;
fileInfo.rwMode = 0;