summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/FbTk/ThemeItems.hh5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/FbTk/ThemeItems.hh b/src/FbTk/ThemeItems.hh
index 23b8e25..d652c52 100644
--- a/src/FbTk/ThemeItems.hh
+++ b/src/FbTk/ThemeItems.hh
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: ThemeItems.hh,v 1.2 2003/10/25 22:09:19 fluxgen Exp $ 22// $Id: ThemeItems.hh,v 1.3 2003/11/28 23:02:05 fluxgen Exp $
23 23
24/// @file implements common theme items 24/// @file implements common theme items
25 25
@@ -78,7 +78,8 @@ void ThemeItem<FbTk::Font>::setDefaultValue() {
78 78
79template <> 79template <>
80void ThemeItem<FbTk::Font>::setFromString(const char *str) { 80void ThemeItem<FbTk::Font>::setFromString(const char *str) {
81 if (m_value.load(str) == false) { 81
82 if (str == 0 || m_value.load(str) == false) {
82 if (FbTk::ThemeManager::instance().verbose()) { 83 if (FbTk::ThemeManager::instance().verbose()) {
83 cerr<<"FbTk::Theme: Error loading font "<< 84 cerr<<"FbTk::Theme: Error loading font "<<
84 ((m_value.isAntialias() || m_value.utf8()) ? "(" : "")<< 85 ((m_value.isAntialias() || m_value.utf8()) ? "(" : "")<<