git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
servicedvb.cpp: fix compiler warning
[enigma2.git]
/
lib
/
gdi
/
font.h
diff --git
a/lib/gdi/font.h
b/lib/gdi/font.h
index 41d51ddc0ec2df9b273cb326f701af01132a47c4..2643fda20215e7099aebbaaeb02a9b5274507d21 100644
(file)
--- a/
lib/gdi/font.h
+++ b/
lib/gdi/font.h
@@
-160,22
+160,22
@@
public:
const eRect& getGlyphBBox(int num) const
{
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)
{
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)
{
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;
}
};
glyphs[g].flags |= f;
}
};