From 75f84aafc4fe6c40db1d1ed884c67b0dbdf5ff0a Mon Sep 17 00:00:00 2001 From: DRC Date: Wed, 14 Jan 2026 15:33:35 -0500 Subject: [PATCH] tjunittest: Test top-down PPM/bottom-up BMP load (oops) --- tjunittest.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tjunittest.c b/tjunittest.c index c506c54e..cc2dc2e4 100644 --- a/tjunittest.c +++ b/tjunittest.c @@ -1,5 +1,5 @@ /* - * Copyright (C)2009-2014, 2017-2019, 2022-2025 D. R. Commander. + * Copyright (C)2009-2014, 2017-2019, 2022-2026 D. R. Commander. * All Rights Reserved. * * Redistribution and use in source and binary forms, with or without @@ -890,14 +890,14 @@ static int bmpTest(void) printf("%s Top-Down PPM (row alignment = %d bytes) ... ", pixFormatStr[format], align); - if (doBmpTest("ppm", width, align, height, format, - TJFLAG_BOTTOMUP) == -1) + if (doBmpTest("ppm", width, align, height, format, 0) == -1) return -1; printf("OK.\n"); printf("%s Bottom-Up BMP (row alignment = %d bytes) ... ", pixFormatStr[format], align); - if (doBmpTest("bmp", width, align, height, format, 0) == -1) + if (doBmpTest("bmp", width, align, height, format, + TJFLAG_BOTTOMUP) == -1) return -1; printf("OK.\n");