diff options
author | Jeff Muizelaar <jmuizelaar@mozilla.com> | 2009-02-09 15:59:01 -0500 |
---|---|---|
committer | Jeff Muizelaar <jmuizelaar@mozilla.com> | 2009-02-09 15:59:01 -0500 |
commit | a6c8f18a391407044b33340cf13c49368a2e810e (patch) | |
tree | 6202f75b037368b33f156a23cb63c8a540804148 /test/path-precision.c | |
parent | 3d2fcec948b93f75ba49b898633a84f60d419779 (diff) | |
download | cairo-a6c8f18a391407044b33340cf13c49368a2e810e.tar.gz |
[test] Avoid C99 designated initializers
MSVC doesn't support these so we shouldn't use them.
Diffstat (limited to 'test/path-precision.c')
-rw-r--r-- | test/path-precision.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/path-precision.c b/test/path-precision.c index 447b7a246..b53710214 100644 --- a/test/path-precision.c +++ b/test/path-precision.c @@ -33,20 +33,20 @@ static cairo_test_status_t draw (cairo_t *cr, int width, int height) { cairo_path_data_t path_data[] = { - { .header = { CAIRO_PATH_MOVE_TO, 2 }, }, - { .point = { 95.000000, 40.000000 }, }, + { { CAIRO_PATH_MOVE_TO, 2 }, }, + { { 95.000000, 40.000000 }, }, - { .header = { CAIRO_PATH_LINE_TO, 2 }, }, - { .point = { 94.960533, 41.255810 }, }, + { { CAIRO_PATH_LINE_TO, 2 }, }, + { { 94.960533, 41.255810 }, }, - { .header = { CAIRO_PATH_LINE_TO, 2 }, }, - { .point = { 94.842293, 42.50666 }, }, + { { CAIRO_PATH_LINE_TO, 2 }, }, + { { 94.842293, 42.50666 }, }, - { .header = { CAIRO_PATH_LINE_TO, 2 }, }, - { .point = { 94.645744, 43.747627 }, }, + { { CAIRO_PATH_LINE_TO, 2 }, }, + { { 94.645744, 43.747627 }, }, - { .header = { CAIRO_PATH_LINE_TO, 2 }, }, - { .point = { 94.371666, 44.973797 }, }, + { { CAIRO_PATH_LINE_TO, 2 }, }, + { { 94.371666, 44.973797 }, }, }; const cairo_test_context_t *ctx = cairo_test_get_context (cr); cairo_path_t path, *path_copy; |