libfprint/SOURCES/0051-Fix-indentation-issues-using-newer-uncrustify.patch
2021-09-09 20:12:48 +00:00

45 lines
1.6 KiB
Diff

From d1bf2cc0c69210bf8c835399edb3578c4c69c4a6 Mon Sep 17 00:00:00 2001
From: Benjamin Berg <bberg@redhat.com>
Date: Mon, 2 Dec 2019 17:02:07 +0100
Subject: [PATCH 051/181] Fix indentation issues using newer uncrustify
Seems like the older uncrustify versions did not find these indentation
issues. Fix them.
Old versions of uncrustify will leave things as is, so this is not a
problem if developers are using an old version of uncrustify.
---
libfprint/drivers/vfs301_proto.c | 2 +-
libfprint/fpi-print.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libfprint/drivers/vfs301_proto.c b/libfprint/drivers/vfs301_proto.c
index 103e890..84e2318 100644
--- a/libfprint/drivers/vfs301_proto.c
+++ b/libfprint/drivers/vfs301_proto.c
@@ -498,7 +498,7 @@ vfs301_proto_peek_event (FpDeviceVfs301 *dev)
usb_recv (dev, e1, l1, NULL, &error); \
usb_recv (dev, e2, l2, NULL, NULL); \
if (g_error_matches (error, G_USB_DEVICE_ERROR, G_USB_DEVICE_ERROR_TIMED_OUT)) \
- usb_recv(dev, e1, l1, NULL, NULL); \
+ usb_recv (dev, e1, l1, NULL, NULL); \
}
static void
diff --git a/libfprint/fpi-print.h b/libfprint/fpi-print.h
index fe07c26..94670a0 100644
--- a/libfprint/fpi-print.h
+++ b/libfprint/fpi-print.h
@@ -43,7 +43,7 @@ gboolean fpi_print_add_from_image (FpPrint *print,
GError **error);
FpiMatchResult fpi_print_bz3_match (FpPrint * template,
- FpPrint *print,
+ FpPrint * print,
gint bz3_threshold,
GError **error);
--
2.24.1