From 5ee979a99af597b7118bd85f126b0ea076790d62 Mon Sep 17 00:00:00 2001 From: Cameron Reikes Date: Sat, 17 Jun 2023 04:25:43 -0700 Subject: [PATCH] Fix metadesk stackpush bug --- thirdparty/md.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thirdparty/md.h b/thirdparty/md.h index 791685d..0a41691 100644 --- a/thirdparty/md.h +++ b/thirdparty/md.h @@ -356,7 +356,7 @@ (zset(f),zset(l)):\ ((f)=(f)->next)) #define MD_StackPush_N(f,n,next) ((n)->next=(f),(f)=(n)) -#define MD_StackPop_NZ(f,next,zchk) (zchk(f)?0:(f)=(f)->next) +#define MD_StackPop_NZ(f,next,zchk) (zchk(f)?0:((f)=(f)->next)) #define MD_DblPushBack_NPZ(f,l,n,next,prev,zchk,zset) \ (zchk(f)?\