Mercurial > hg > early-roguelike
view urogue/verify.c @ 291:5b6855d5d089
Fix a portability issue with md_hasclreol().
Some games' implementation of md_hasclreol() poked around in ncurses
internals, which does not work for some ncurses build configuration.
Most games did not actually call md_hasclreol(), so it was removed.
There is a standard terminfo function which can retrieve the value of
the clr_eol capability, so this was used for rogue5.
author | John "Elwin" Edwards |
---|---|
date | Wed, 27 Dec 2017 10:26:06 -0500 |
parents | c495a4f288c6 |
children | 13b482bd9e66 |
line wrap: on
line source
/* verify.c - exiting functions UltraRogue: The Ultimate Adventure in the Dungeons of Doom Copyright (C) 1995 Herb Chong All rights reserved. */ static char sccsid[] = "%W% %G%"; #include "rogue.h" void verify_function(const char *file, const int line) { char s[80]; sprintf(s, "Verify failure in %s at line %d\n", file, line); fatal(s); }