Check-in [9907dcec7f]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:properly indenting the sources
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 9907dcec7fc34a911e6c8b3ce260708bd099ef4c
User & Date: sandro 2018-02-22 14:13:43
Context
2019-01-31
17:29
fixing a small issue and supporting recent versions of the MSVC compiler check-in: 7c409569f9 user: sandro tags: trunk
2018-02-22
14:13
properly indenting the sources check-in: 9907dcec7f user: sandro tags: trunk
14:10
completing the previous commit check-in: 97c9f43cea user: sandro tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/freexl.c.

1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
	(double) sizeof (biff_cell_value) *
	(double) (workbook->active_sheet->rows) *
	(double) (workbook->active_sheet->columns);
    if (dsize > 256.0 * 1024.0 * 1024.0)
	return FREEXL_INSUFFICIENT_MEMORY;

/* allocating the cell values array */
    if (workbook->active_sheet->rows *
		 workbook->active_sheet->columns <= 0)
		 {
    workbook->active_sheet->cell_values = NULL;
    return FREEXL_OK;
		 }
    workbook->active_sheet->cell_values =
	malloc (sizeof (biff_cell_value) *
		(workbook->active_sheet->rows *
		 workbook->active_sheet->columns));
    if (workbook->active_sheet->cell_values == NULL)
	return FREEXL_INSUFFICIENT_MEMORY;
    for (row = 0; row < workbook->active_sheet->rows; row++)







|
<
|
|
|
|







1105
1106
1107
1108
1109
1110
1111
1112

1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
	(double) sizeof (biff_cell_value) *
	(double) (workbook->active_sheet->rows) *
	(double) (workbook->active_sheet->columns);
    if (dsize > 256.0 * 1024.0 * 1024.0)
	return FREEXL_INSUFFICIENT_MEMORY;

/* allocating the cell values array */
    if (workbook->active_sheet->rows * workbook->active_sheet->columns <= 0)

      {
	  workbook->active_sheet->cell_values = NULL;
	  return FREEXL_OK;
      }
    workbook->active_sheet->cell_values =
	malloc (sizeof (biff_cell_value) *
		(workbook->active_sheet->rows *
		 workbook->active_sheet->columns));
    if (workbook->active_sheet->cell_values == NULL)
	return FREEXL_INSUFFICIENT_MEMORY;
    for (row = 0; row < workbook->active_sheet->rows; row++)