summaryrefslogtreecommitdiffstats
path: root/src/gui/text
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-07-15 15:31:06 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-07-15 15:31:33 (GMT)
commit31bed31d6d058a17d74de05a1653256decdfc735 (patch)
treea86dc5062f3c7ea5fba2273b8db20c5490025522 /src/gui/text
parente68aa748a35725e3a6028ebc75a8447eff0912cb (diff)
downloadQt-31bed31d6d058a17d74de05a1653256decdfc735.zip
Qt-31bed31d6d058a17d74de05a1653256decdfc735.tar.gz
Qt-31bed31d6d058a17d74de05a1653256decdfc735.tar.bz2
fix warnings with mingw
Diffstat (limited to 'src/gui/text')
-rw-r--r--src/gui/text/qfontdatabase_win.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/text/qfontdatabase_win.cpp b/src/gui/text/qfontdatabase_win.cpp
index 2e8e5e4..974b955 100644
--- a/src/gui/text/qfontdatabase_win.cpp
+++ b/src/gui/text/qfontdatabase_win.cpp
@@ -1026,6 +1026,8 @@ static void getFamiliesAndSignatures(const QByteArray &fontData, QFontDatabasePr
signature.fsCsb[0] = qFromBigEndian<quint32>(table + 78);
signature.fsCsb[1] = qFromBigEndian<quint32>(table + 82);
+ } else {
+ memset(&signature, 0, sizeof(signature));
}
appFont->signatures << signature;
}