aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/FontGlyphCache.cpp
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-05-11 16:03:59 +0200
committerEinar Johan Trøan Sømåen2012-06-02 13:01:15 +0200
commitba6a2ac66ea3e679246a28e81013f7c4794ed564 (patch)
tree9e187c8259f0ad8f38b29c4d66abef675a9e7ff3 /engines/wintermute/FontGlyphCache.cpp
parent2ee58d2dc3f78e03f25edf7103403ee06ba9ab7a (diff)
downloadscummvm-rg350-ba6a2ac66ea3e679246a28e81013f7c4794ed564.tar.gz
scummvm-rg350-ba6a2ac66ea3e679246a28e81013f7c4794ed564.tar.bz2
scummvm-rg350-ba6a2ac66ea3e679246a28e81013f7c4794ed564.zip
WINTERMUTE: Run Astyle on code-files to reformat.
Diffstat (limited to 'engines/wintermute/FontGlyphCache.cpp')
-rw-r--r--engines/wintermute/FontGlyphCache.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/wintermute/FontGlyphCache.cpp b/engines/wintermute/FontGlyphCache.cpp
index d2ac984b29..feb5f33274 100644
--- a/engines/wintermute/FontGlyphCache.cpp
+++ b/engines/wintermute/FontGlyphCache.cpp
@@ -61,11 +61,11 @@ GlyphInfo *FontGlyphCache::GetGlyph(wchar_t ch) {
/*
//////////////////////////////////////////////////////////////////////////
void FontGlyphCache::AddGlyph(wchar_t ch, int glyphIndex, FT_GlyphSlot glyphSlot, size_t width, size_t height, byte *pixels, size_t stride) {
- if (stride == 0) stride = width;
+ if (stride == 0) stride = width;
- _glyphs[ch] = new GlyphInfo(glyphIndex);
- _glyphs[ch]->SetGlyphInfo(glyphSlot->advance.x / 64.f, glyphSlot->advance.y / 64.f, glyphSlot->bitmap_left, glyphSlot->bitmap_top);
- _glyphs[ch]->SetGlyphImage(width, height, stride, pixels);
+ _glyphs[ch] = new GlyphInfo(glyphIndex);
+ _glyphs[ch]->SetGlyphInfo(glyphSlot->advance.x / 64.f, glyphSlot->advance.y / 64.f, glyphSlot->bitmap_left, glyphSlot->bitmap_top);
+ _glyphs[ch]->SetGlyphImage(width, height, stride, pixels);
}
*/