From 2031835cb066534eb42ebe4626f4510611638989 Mon Sep 17 00:00:00 2001 From: cohrs Date: Mon, 18 Mar 2002 00:02:51 +0000 Subject: [PATCH] One leftover height use in Qt tile support --- win/Qt/qt_win.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win/Qt/qt_win.cpp b/win/Qt/qt_win.cpp index 649318083..23096a3f7 100644 --- a/win/Qt/qt_win.cpp +++ b/win/Qt/qt_win.cpp @@ -4182,7 +4182,7 @@ NetHackQtGlyphs::NetHackQtGlyphs() tiles_per_row = TILES_PER_ROW; if (img.width()%tiles_per_row) { impossible("Tile file \"%s\" has %d columns, not multiple of row count (%d)", - tile_file, img.height(), tiles_per_row); + tile_file, img.width(), tiles_per_row); } } int rows = ((total_tiles_used+tiles_per_row-1) / tiles_per_row);