]>
Commit | Line | Data |
---|---|---|
f3f2072f JR |
1 | --- qt-everywhere-opensource-src-4.8.7/src/3rdparty/webkit/Source/WebCore/html/HTMLImageElement.cpp~ 2015-05-07 16:14:47.000000000 +0200 |
2 | +++ qt-everywhere-opensource-src-4.8.7/src/3rdparty/webkit/Source/WebCore/html/HTMLImageElement.cpp 2021-08-16 18:44:52.721008091 +0200 | |
3 | @@ -74,7 +74,7 @@ | |
4 | RefPtr<HTMLImageElement> image = adoptRef(new HTMLImageElement(imgTag, document)); | |
5 | if (optionalWidth) | |
6 | image->setWidth(*optionalWidth); | |
7 | - if (optionalHeight > 0) | |
db3ed1bd | 8 | + if (optionalHeight != 0) |
f3f2072f JR |
9 | image->setHeight(*optionalHeight); |
10 | return image.release(); | |
11 | } | |
4a00705a JR |
12 | --- qt-everywhere-opensource-src-4.8.7/tools/linguist/linguist/messagemodel.cpp~ 2015-05-07 16:14:39.000000000 +0200 |
13 | +++ qt-everywhere-opensource-src-4.8.7/tools/linguist/linguist/messagemodel.cpp 2021-08-17 10:08:13.701417706 +0200 | |
14 | @@ -183,7 +183,7 @@ | |
15 | if (ContextItem *c = one->findContext(oc->context())) { | |
16 | for (int j = 0; j < oc->messageCount(); ++j) { | |
17 | MessageItem *m = oc->messageItem(j); | |
18 | - if (c->findMessage(m->text(), m->comment()) >= 0) | |
db3ed1bd | 19 | + if (c->findMessage(m->text(), m->comment()) != 0) |
4a00705a JR |
20 | ++inBoth; |
21 | } | |
22 | } |