diff options
author | fluxgen <fluxgen> | 2002-11-21 15:26:34 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-11-21 15:26:34 (GMT) |
commit | 36c4c79abd5fbf72539ed6ce859f8e97b1a4ff1d (patch) | |
tree | 92fa0e86a4da5427bb1429b60fe801fcefd7a1fa | |
parent | a64953f7084b36960d709558474bb20a1d1c662c (diff) | |
download | fluxbox_lack-36c4c79abd5fbf72539ed6ce859f8e97b1a4ff1d.zip fluxbox_lack-36c4c79abd5fbf72539ed6ce859f8e97b1a4ff1d.tar.bz2 |
fixed error in if-statement
-rw-r--r-- | src/Font.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Font.cc b/src/Font.cc index 37ccdea..f506bc1 100644 --- a/src/Font.cc +++ b/src/Font.cc | |||
@@ -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: Font.cc,v 1.19 2002/10/25 21:07:07 fluxgen Exp $ | 22 | //$Id: Font.cc,v 1.20 2002/11/21 15:26:34 fluxgen Exp $ |
23 | 23 | ||
24 | 24 | ||
25 | #include "Font.hh" | 25 | #include "Font.hh" |
@@ -140,7 +140,7 @@ bool Font::load(const char *name) { | |||
140 | if (name == 0) | 140 | if (name == 0) |
141 | return false; | 141 | return false; |
142 | bool ret_val = m_fontimp->load(name); | 142 | bool ret_val = m_fontimp->load(name); |
143 | if (ret_val && name == 0) { //prevent from having a bad fontimp | 143 | if (ret_val && name != 0) { //prevent from having a bad fontimp |
144 | m_fontstr = name; // if the load really succeded then set font string | 144 | m_fontstr = name; // if the load really succeded then set font string |
145 | } else { | 145 | } else { |
146 | m_fontstr = ""; | 146 | m_fontstr = ""; |