branch | RCL_3 |
changeset 8 | 3f74d0d4af4c |
parent 4 | 3b1da2848fc7 |
--- a/src/gui/painting/qdrawhelper_p.h Mon Mar 15 12:43:09 2010 +0200 +++ b/src/gui/painting/qdrawhelper_p.h Thu Apr 08 14:19:33 2010 +0300 @@ -1549,6 +1549,9 @@ template <class T> inline void qt_memfill(T *dest, T value, int count) { + if (!count) + return; + int n = (count + 7) / 8; switch (count & 0x07) {