From 629221955147ab1b6cd7e04977e9471803cb841a Mon Sep 17 00:00:00 2001 From: holger krekel Date: Tue, 13 Aug 2019 22:03:24 +0200 Subject: [PATCH] fix bug that lead to all liveconfig tests failing --- src/dc_configure.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dc_configure.rs b/src/dc_configure.rs index 84926af49..3e8160e86 100644 --- a/src/dc_configure.rs +++ b/src/dc_configure.rs @@ -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,