aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_utils.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-12-09 00:05:53 +0100
committerDavid Robillard <d@drobilla.net>2019-12-09 00:11:32 +0100
commit116188e6e0e6e545ead9f0887f465434e464e3b5 (patch)
tree62972acbc15a0475915f51343b3db073a7c1b2f3 /test/test_utils.h
parent69bae88240611a0bc13a1aae0b84938f047547c3 (diff)
downloadpugl-116188e6e0e6e545ead9f0887f465434e464e3b5.tar.gz
pugl-116188e6e0e6e545ead9f0887f465434e464e3b5.tar.bz2
pugl-116188e6e0e6e545ead9f0887f465434e464e3b5.zip
Fix use of incorrect union element
Diffstat (limited to 'test/test_utils.h')
-rw-r--r--test/test_utils.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_utils.h b/test/test_utils.h
index 1f36772..904c9a4 100644
--- a/test/test_utils.h
+++ b/test/test_utils.h
@@ -230,10 +230,10 @@ printEvent(const PuglEvent* event, const char* prefix, const bool verbose)
switch (event->type) {
case PUGL_CONFIGURE:
return fprintf(stderr, "%sConfigure " PFMT " " PFMT "\n", prefix,
- event->expose.x,
- event->expose.y,
- event->expose.width,
- event->expose.height);
+ event->configure.x,
+ event->configure.y,
+ event->configure.width,
+ event->configure.height);
case PUGL_EXPOSE:
return fprintf(stderr,
"%sExpose " PFMT " " PFMT "\n", prefix,