aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-11-28 23:02:05 (GMT)
committerfluxgen <fluxgen>2003-11-28 23:02:05 (GMT)
commit9a6555695ad583c19d801818084cb8205ec37944 (patch)
tree7ca7d3d56efa963106f6655c2032cdf607851db1 /src/FbTk
parent139792c8603a4ec6faa23576ff03d39a50d4ab91 (diff)
downloadfluxbox_paul-9a6555695ad583c19d801818084cb8205ec37944.zip
fluxbox_paul-9a6555695ad583c19d801818084cb8205ec37944.tar.bz2
minor stuff
Diffstat (limited to 'src/FbTk')
-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()) ? "(" : "")<<