commit | 4b4fb3a52c32cd4937d51d1315624545973b1322 | [log] [tgz] |
---|---|---|
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon May 16 18:24:19 2011 +0000 |
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon May 16 18:24:19 2011 +0000 |
tree | 581e3f0c758e4875480654965a10e76eae52340b | |
parent | 07f3ee10d34f09342abb93d758b5e151ff78f7a5 [diff] |
fully expand the initialization for rect (android compiler didn't like {0}) git-svn-id: http://skia.googlecode.com/svn/trunk@1336 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/include/core/SkRect.h b/include/core/SkRect.h index 68a51d1..19ee12a 100644 --- a/include/core/SkRect.h +++ b/include/core/SkRect.h
@@ -290,7 +290,7 @@ void sort(); static const SkIRect& EmptyIRect() { - static const SkIRect gEmpty = {0}; + static const SkIRect gEmpty = { 0, 0, 0, 0 }; return gEmpty; } };