Bug Fix
- Code doesn't compile when HAVE_LIBNCURSES is not defined (thanks to John Florian).
This commit is contained in:
@@ -146,6 +146,7 @@ int Context::getWidth ()
|
|||||||
else
|
else
|
||||||
debug ("Context::getWidth: ncurses available but disabled.");
|
debug ("Context::getWidth: ncurses available but disabled.");
|
||||||
#else
|
#else
|
||||||
|
std::stringstream out;
|
||||||
out << "Context::getWidth: no ncurses, using width of " << width << " characters";
|
out << "Context::getWidth: no ncurses, using width of " << width << " characters";
|
||||||
debug (out.str ());
|
debug (out.str ());
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user