fix bug that lead to all liveconfig tests failing

This commit is contained in:
holger krekel
2019-08-13 22:03:24 +02:00
parent ed237c8d25
commit d13427cc84

View File

@@ -19,8 +19,8 @@ macro_rules! progress {
Event::CONFIGURE_PROGRESS,
(if $progress < 1 {
1
} else if $progress > 999 {
999
} else if $progress > 1000 {
1000
} else {
$progress
}) as uintptr_t,