From d1a925b7068bcf4fb42f2c7124d7f152f7aa611e Mon Sep 17 00:00:00 2001 From: Martin Purschke Date: Wed, 28 Aug 2024 20:29:34 -0400 Subject: [PATCH] mlp - a copypaste gone wrong in the buffer selector. Fixed. --- newbasic/buffer.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/newbasic/buffer.cc b/newbasic/buffer.cc index e83c19f..63df8d7 100644 --- a/newbasic/buffer.cc +++ b/newbasic/buffer.cc @@ -24,11 +24,9 @@ int buffer::makeBuffer( PHDWORD *bp, const int allocatedsize, buffer **bptr) return 0; } - else if ( bp[1] == BUFFERMARKER - || bp[1]== LZO1XBUFFERMARKER + else if ( bp[1]== LZO1XBUFFERMARKER || bp[1]== LZO1CBUFFERMARKER || bp[1]== LZO2ABUFFERMARKER - || buffer::u4swap(bp[1]) == BUFFERMARKER || buffer::u4swap(bp[1])== LZO1XBUFFERMARKER || buffer::u4swap(bp[1])== LZO1CBUFFERMARKER || buffer::u4swap(bp[1])== LZO2ABUFFERMARKER )