From 71dc155d452fd6012b16a091a6e93910cb756488 Mon Sep 17 00:00:00 2001 From: ac-stef Date: Mon, 25 Aug 2014 13:49:53 +0200 Subject: [PATCH] fix loopvjrev apparently, no one used this macro since 2007 --- source/src/tools.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/tools.h b/source/src/tools.h index 92a447fc..90480d45 100644 --- a/source/src/tools.h +++ b/source/src/tools.h @@ -221,7 +221,7 @@ inline bool findpattern (char *s, char *d) // returns true if there is more than #define loopvj(v) for(int j = 0; j<(v).length(); j++) #define loopvk(v) for(int k = 0; k<(v).length(); k++) #define loopvrev(v) for(int i = (v).length()-1; i>=0; i--) -#define loopvjrev(v) for(int j = (v).length()-1; i>=0; i--) +#define loopvjrev(v) for(int j = (v).length()-1; j>=0; j--) template struct databuf