diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-06-29 21:26:34 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-06-29 21:26:34 +0200 |
commit | 36126f5ee37799b959036e0e47abec279e864942 (patch) | |
tree | 3fabeeccf2672cd83c95116f5323e7b6c34ca0e3 /spice | |
parent | eb96d4ec74b56432d2b7315c50b362fb750bd5b7 (diff) |
Change SpicePath.size to SpicePath.num_segments
We now track the number of segments rather than the memory size
of the path internally.
Diffstat (limited to 'spice')
-rw-r--r-- | spice/draw.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spice/draw.h b/spice/draw.h index 475a58a..da748ef 100644 --- a/spice/draw.h +++ b/spice/draw.h @@ -71,7 +71,7 @@ typedef struct SPICE_ATTR_PACKED SpicePathSeg { } SpicePathSeg; typedef struct SPICE_ATTR_PACKED SpicePath { - uint32_t size; + uint32_t num_segments; SpicePathSeg segments[0]; /* alert: variable size elements */ } SpicePath; |