aboutsummaryrefslogtreecommitdiff
path: root/lib/gdi
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2009-04-27 22:57:34 +0200
committerghost <andreas.monzner@multimedia-labs.de>2009-04-27 22:57:34 +0200
commitadef5abc91835e6c9e06b446c1bd3e3a42ec03bc (patch)
treef9abcbb6d8442fbf68ab1f84697c2fe2da35a6ee /lib/gdi
parentb48a6df5d1bb24e9e4b67b31ffe70c54846a9440 (diff)
downloadenigma2-adef5abc91835e6c9e06b446c1bd3e3a42ec03bc.tar.gz
enigma2-adef5abc91835e6c9e06b446c1bd3e3a42ec03bc.zip
replace more assertions to get proper log messages
Diffstat (limited to 'lib/gdi')
-rw-r--r--lib/gdi/font.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/gdi/font.h b/lib/gdi/font.h
index 41d51ddc..2643fda2 100644
--- a/lib/gdi/font.h
+++ b/lib/gdi/font.h
@@ -160,22 +160,22 @@ public:
const eRect& getGlyphBBox(int num) const
{
- assert(num >= 0);
- assert(num < (int)glyphs.size());
+ ASSERT(num >= 0);
+ ASSERT(num < (int)glyphs.size());
return glyphs[num].bbox;
}
void setGlyphFlag(int g, int f)
{
- assert(g >= 0);
- assert(g < (int)glyphs.size());
+ ASSERT(g >= 0);
+ ASSERT(g < (int)glyphs.size());
glyphs[g].flags |= f;
}
void clearGlyphFlag(int g, int f)
{
- assert(g >= 0);
- assert(g < (int)glyphs.size());
+ ASSERT(g >= 0);
+ ASSERT(g < (int)glyphs.size());
glyphs[g].flags |= f;
}
};