From 66e5c7fd6483d817d1b40f662d420f31fbfc17bd Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Fri, 3 Jul 2009 12:38:49 -0400 Subject: [PATCH] Bug Fix - Code doesn't compile when HAVE_LIBNCURSES is not defined (thanks to John Florian). --- src/interactive.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/interactive.cpp b/src/interactive.cpp index 1bbd3d186..de5ab66d2 100644 --- a/src/interactive.cpp +++ b/src/interactive.cpp @@ -146,6 +146,7 @@ int Context::getWidth () else debug ("Context::getWidth: ncurses available but disabled."); #else + std::stringstream out; out << "Context::getWidth: no ncurses, using width of " << width << " characters"; debug (out.str ()); #endif