Avoiding access to nil pointer.

This commit is contained in:
Oliver 2018-01-13 11:45:48 +01:00
parent fdab2627c3
commit cc7bb29944
1 changed files with 3 additions and 0 deletions

View File

@ -539,6 +539,9 @@ ColumnLoop:
// Get the cell. // Get the cell.
cell := getCell(row, column) cell := getCell(row, column)
if cell == nil {
continue
}
// Determine colors. // Determine colors.
bgColor := t.backgroundColor bgColor := t.backgroundColor