mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 10:31:20 +02:00
12 lines
513 B
C++
12 lines
513 B
C++
--- ./src/3rdparty/webkit/Source/WebCore/html/HTMLImageElement.cpp.orig 2015-05-07 16:14:47.000000000 +0200
|
|
+++ ./src/3rdparty/webkit/Source/WebCore/html/HTMLImageElement.cpp 2019-03-22 13:54:51.727777000 +0200
|
|
@@ -74,7 +74,7 @@
|
|
RefPtr<HTMLImageElement> image = adoptRef(new HTMLImageElement(imgTag, document));
|
|
if (optionalWidth)
|
|
image->setWidth(*optionalWidth);
|
|
- if (optionalHeight > 0)
|
|
+ if (optionalHeight)
|
|
image->setHeight(*optionalHeight);
|
|
return image.release();
|
|
}
|