Merge pull request #891 from andreasb242/master

Mac Build
presentation
andreasb242 7 years ago committed by GitHub
commit 09b094cd86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      src/gui/Layout.cpp

@ -205,9 +205,12 @@ void Layout::layoutPages()
int rows = mapper.getRows();
int columns = mapper.getColumns();
int sizeCol[columns] = { };
int sizeCol[columns];
// Needs dynamic initialisation, else clang will not compile...
memset(sizeCol, 0, columns * sizeof(int));
int sizeRow[rows] = { };
int sizeRow[rows];
memset(sizeRow, 0, rows * sizeof(int));
for (int r = 0; r < rows; r++)
{

Loading…
Cancel
Save