Fix for NDEBUG build

This commit is contained in:
Alexander S. Aganichev 2002-11-02 09:27:38 +00:00
parent c7a1b22a2d
commit 55f0bc47e8

View File

@ -585,7 +585,8 @@ void GVid::detectinfo(GVidInfo* _info) {
// Get video mode and number of rows and columns
CONSOLE_SCREEN_BUFFER_INFO csbi;
assert(GetConsoleScreenBufferInfo(gvid_hout, &csbi) != 0);
int result = GetConsoleScreenBufferInfo(gvid_hout, &csbi);
assert(result != 0);
_info->screen.mode = 0;
_info->screen.rows = csbi.dwSize.Y;