Ticket #7151: libs_libmythtv-reset-stream-format-state-ticket-7151

File libs_libmythtv-reset-stream-format-state-ticket-7151, 759 bytes (added by Erik Hovland <erik@…>, 14 years ago)

Same patch as before but against trunk as of 2010-02-03

Line 
1When a iomanip stream object is used, the state of the stream format is
2
3From: Erik Hovland <erik@hovland.org>
4
5changed. It should be reset to its original state.
6---
7
8 mythtv/libs/libmythtv/ttfont.cpp |    2 +-
9 1 files changed, 1 insertions(+), 1 deletions(-)
10
11
12diff --git a/mythtv/libs/libmythtv/ttfont.cpp b/mythtv/libs/libmythtv/ttfont.cpp
13index 90a05c3..ffc5d05 100644
14--- a/mythtv/libs/libmythtv/ttfont.cpp
15+++ b/mythtv/libs/libmythtv/ttfont.cpp
16@@ -590,7 +590,7 @@ bool TTFFont::cache_glyph(unsigned short c)
17     FT_Glyph& glyph = glyphs[c];
18     if (FT_Get_Glyph(face->glyph, &glyph))
19     {
20-        cerr << "cannot load glyph:" << hex << c << "\n";
21+        cerr << "cannot load glyph:" << hex << c << dec << endl;
22         return false;
23     }
24