projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fd3bc8
)
dont use _font when making an xft font. if the xftfont fails to load, then the font...
author
Dana Jansens
<danakj@orodu.net>
Thu, 2 Jan 2003 16:03:28 +0000
(16:03 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Thu, 2 Jan 2003 16:03:28 +0000
(16:03 +0000)
src/Font.cc
patch
|
blob
|
history
diff --git
a/src/Font.cc
b/src/Font.cc
index 8a04abc910bed765ebb1e7e88893407e8fcc2675..593d723f6c9c8761a3c5c566307c5b1894843b2c 100644
(file)
--- a/
src/Font.cc
+++ b/
src/Font.cc
@@
-81,10
+81,6
@@
BFont::BFont(Display *d, BScreen *screen, const string &family, int size,
if (! _xftfont)
return; // failure
- _font = XLoadQueryFont(_display, buildXlfd().c_str());
- if (! _font)
- return; // failure
-
_valid = True;
}
#endif