[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenox/konq-embed/kdesrc/khtml/patches
From: Dirk Mueller <mueller () kde ! org>
Date: 2006-03-24 0:33:15
Message-ID: 1143160395.769080.27751.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 521958 by mueller:
interesting way to corrupt your memory :)
the whole struct can't be bigger than 64 bit, and assigning 100 bits for
the scaling factor isn't necessary anyway.
M +5 -3 image_scaling.patch
--- trunk/kdenox/konq-embed/kdesrc/khtml/patches/image_scaling.patch #521957:521958
@@ -185,15 +185,17 @@
diff -u -r ../../../../khtml.org/rendering/render_style.h ./rendering/render_style.h
--- ../../../../khtml.org/rendering/render_style.h
+++ ./rendering/render_style.h
-@@ -793,6 +793,8 @@
+@@ -793,7 +793,9 @@
bool _page_break_inside : 1; // AUTO/AVOID
-+ int _scaling_factor : 100;
++ unsigned int _scaling_factor : 7;
+
- unsigned int unused : 27;
+- unsigned int unused : 27;
++ unsigned int unused : 20;
} f;
Q_UINT64 _iflags;
+
@@ -880,6 +882,7 @@
inherited_flags.f._htmlHacks=false;
inherited_flags.f._user_input = UI_NONE;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic