Skip to content

Commit

Permalink
Fix inconsistent indentation (replace 4 spaces by tabs in a few places)
Browse files Browse the repository at this point in the history
  • Loading branch information
dverite committed Dec 8, 2023
1 parent 01d459d commit 9f55f25
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion icu_ext.c
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ Datum
icu_sort_key(PG_FUNCTION_ARGS)
{
text *txt = PG_GETARG_TEXT_PP(0);
UCollator *collator = ucollator_from_coll_id(PG_GET_COLLATION());
UCollator *collator = ucollator_from_coll_id(PG_GET_COLLATION());
int32_t o_len = 1024; /* first attempt */
int32_t ulen;
UChar *ustring;
Expand Down
2 changes: 1 addition & 1 deletion icu_normalize.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ icu_normalize(PG_FUNCTION_ARGS)
Datum
icu_is_normalized(PG_FUNCTION_ARGS)
{
text *src_text = PG_GETARG_TEXT_PP(0);
text *src_text = PG_GETARG_TEXT_PP(0);
const char* arg_form = text_to_cstring(PG_GETARG_TEXT_PP(1));
norm_form_t form = name_to_norm(arg_form);
UErrorCode status = U_ZERO_ERROR;
Expand Down
4 changes: 2 additions & 2 deletions icu_search.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ internal_strpos(text *txt1, text *txt2, UCollator *collator)
Datum
icu_strpos(PG_FUNCTION_ARGS)
{
UCollator *collator = ucollator_from_coll_id(PG_GET_COLLATION());
UCollator *collator = ucollator_from_coll_id(PG_GET_COLLATION());

PG_RETURN_INT32(internal_strpos(PG_GETARG_TEXT_PP(0), /* haystack */
PG_GETARG_TEXT_PP(1), /* needle */
Expand Down Expand Up @@ -351,7 +351,7 @@ internal_str_replace(text *txt1, /* not const because it may be returned */
Datum
icu_replace(PG_FUNCTION_ARGS)
{
UCollator *collator = ucollator_from_coll_id(PG_GET_COLLATION());
UCollator *collator = ucollator_from_coll_id(PG_GET_COLLATION());
text *string;

string = internal_str_replace(
Expand Down

0 comments on commit 9f55f25

Please sign in to comment.