Fixed non-functioning -xc: option when -xr: was not also specified
This commit is contained in:
parent
c36a503c27
commit
a80a9680fe
@ -19,6 +19,7 @@ HEAD
|
||||
* More code modularization
|
||||
* Fixed handling of fonts (fixes some segfaults, closes bug 529044)
|
||||
* Fixed "String Table Error" occurences in some (not all) empty cells
|
||||
* Fixed non-functioning -xc: option when -xr: was not also specified
|
||||
* Added some Alpha portability fixes.
|
||||
|
||||
0.5 04/13/02
|
||||
|
@ -7,6 +7,7 @@
|
||||
- Modularize code. Separate XLS reading into a library, make a frontend with
|
||||
various output formats: XML, HTML, CSV...
|
||||
- Make main_line_processor()'s working buffer grow dynamically
|
||||
- Improve error reporting and optional debug output
|
||||
- Notes from Steve Grubb:
|
||||
- Support String formulas
|
||||
- Reduce memory footprint
|
||||
|
@ -633,6 +633,19 @@ void SetupExtraction(void)
|
||||
{
|
||||
ws_array[xp]->first_row = xr1;
|
||||
ws_array[xp]->biggest_row = xr2;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (Ascii)
|
||||
fprintf(stderr, "Error - Row not in range during extraction"
|
||||
" (%d or %d not in [%ld..%ld])\n", xr1, xr2, (long)ws_array[xp]->first_row, (long)ws_array[xp]->biggest_row);
|
||||
else
|
||||
{
|
||||
printf("Error - Row not in range during extraction.");
|
||||
output_footer();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
if (xc1 < 0)
|
||||
{
|
||||
@ -653,20 +666,6 @@ void SetupExtraction(void)
|
||||
else
|
||||
{
|
||||
printf("Error - Col not in range during extraction.\n");
|
||||
|
||||
output_footer();
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (Ascii)
|
||||
fprintf(stderr, "Error - Row not in range during extraction"
|
||||
" (%d or %d not in [%ld..%ld])\n", xr1, xr2, (long)ws_array[xp]->first_row, (long)ws_array[xp]->biggest_row);
|
||||
else
|
||||
{
|
||||
printf("Error - Row not in range during extraction.");
|
||||
output_footer();
|
||||
}
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user