Revert "null values"

This reverts commit 9717adc840.
revert-43-persistence
Stefan Haustein 2019-03-23 22:33:10 +01:00 committed by GitHub
parent 763aa3e638
commit 0f40406ddd
1 changed files with 1 additions and 4 deletions

View File

@ -443,11 +443,8 @@ cimg_library::CImg<unsigned char> load_rgb_CImg(const char * const filename) {
int main(int argc, char* argv[]) {
struct winsize w;
ioctl(STDOUT_FILENO, TIOCGWINSZ, &w);
if(w.ws_col == 0 && w.ws_col == 0)
ioctl(0, TIOCGWINSZ, &w);
int maxWidth = w.ws_col * 4;
int maxHeight = w.ws_row * 8;
int flags = 0;