From 7f78b30cbec528a640f92e40c947687f1a709152 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Thu, 12 Jun 2003 14:09:59 +0000 Subject: better error msg --- src/FbTk/Theme.cc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/FbTk/Theme.cc b/src/FbTk/Theme.cc index dc5a289..da3f300 100644 --- a/src/FbTk/Theme.cc +++ b/src/FbTk/Theme.cc @@ -19,7 +19,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Theme.cc,v 1.5 2003/05/18 22:12:25 fluxgen Exp $ +// $Id: Theme.cc,v 1.6 2003/06/12 14:09:59 fluxgen Exp $ #include "Theme.hh" @@ -55,8 +55,8 @@ void ThemeItem::setDefaultValue() { template <> void ThemeItem::setFromString(const char *str) { if (m_value.load(str) == false) { - cerr<<"Failed to load font: "<::setDefaultValue() { template <> void ThemeItem::setFromString(const char *str) { - if (!m_value.setFromString(str, m_tm.screenNum())) + if (!m_value.setFromString(str, m_tm.screenNum())) { + cerr<<"FbTk::Theme: Error loading color value for \""<