summaryrefslogtreecommitdiff
path: root/hgehelp/hgefont.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'hgehelp/hgefont.cpp')
-rw-r--r--hgehelp/hgefont.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/hgehelp/hgefont.cpp b/hgehelp/hgefont.cpp
index 80fdd47..309a773 100644
--- a/hgehelp/hgefont.cpp
+++ b/hgehelp/hgefont.cpp
@@ -70,7 +70,7 @@ hgeFont::hgeFont(const char *szFont, bool bMipmap)
// Parse font description
- while(pdesc = _get_line(pdesc,linebuf))
+ while((pdesc = _get_line(pdesc,linebuf)))
{
if(!strncmp(linebuf, FNTBITMAPTAG, sizeof(FNTBITMAPTAG)-1 ))
{
@@ -334,4 +334,4 @@ char *hgeFont::_get_line(char *file, char *line)
while(file[i] && (file[i]=='\n' || file[i]=='\r')) i++;
return file + i;
-} \ No newline at end of file
+}