[tracker-miners: 2/4] tracker-extract: Don’t misalign the \ in some multiline macros
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners: 2/4] tracker-extract: Don’t misalign the \ in some multiline macros
- Date: Mon, 8 Aug 2022 09:09:43 +0000 (UTC)
commit b38607cba9e1a975448bb0c2cf85551291625b6f
Author: Jörn-Thorben Hinz <82747-jtdor users noreply gitlab gnome org>
Date: Sun Jul 17 11:02:47 2022 +0200
tracker-extract: Don’t misalign the \ in some multiline macros
src/tracker-extract/tracker-extract-oasis.c | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-oasis.c b/src/tracker-extract/tracker-extract-oasis.c
index a33980745..8018a5001 100644
--- a/src/tracker-extract/tracker-extract-oasis.c
+++ b/src/tracker-extract/tracker-extract-oasis.c
@@ -260,13 +260,13 @@ xml_start_element_handler_metadata (GMarkupParseContext *context,
{
ODTMetadataParseInfo *data = user_data;
- #define push_tag(id) \
+ #define push_tag(id) \
g_queue_push_head (data->tag_stack, GINT_TO_POINTER(id));
- #define handle_tag_and_return(name, id) \
- if (g_ascii_strcasecmp (element_name, name) == 0) { \
- push_tag (id); \
- return; \
+ #define handle_tag_and_return(name, id) \
+ if (g_ascii_strcasecmp (element_name, name) == 0) { \
+ push_tag (id); \
+ return; \
};
handle_tag_and_return ("dc:title", ODT_TAG_TYPE_TITLE);
@@ -451,13 +451,13 @@ xml_start_element_handler_content (GMarkupParseContext *context,
{
ODTContentParseInfo *data = user_data;
- #define push_tag(id) \
+ #define push_tag(id) \
g_queue_push_head (data->tag_stack, GINT_TO_POINTER(id));
- #define handle_tag_and_return(name, id) \
- if (g_ascii_strcasecmp (element_name, name) == 0) { \
- push_tag (id); \
- return; \
+ #define handle_tag_and_return(name, id) \
+ if (g_ascii_strcasecmp (element_name, name) == 0) { \
+ push_tag (id); \
+ return; \
};
switch (data->file_type) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]