mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-08 08:43:05 +02:00
Whitespace fixes
This commit is contained in:
parent
43098d0038
commit
2aa135ee3d
@ -1334,12 +1334,14 @@ g_date_time_get_dmy (const GDateTime *datetime,
|
|||||||
|
|
||||||
the_month = (remaining_days + 50) >> 5;
|
the_month = (remaining_days + 50) >> 5;
|
||||||
preceding = (days_in_year[0][the_month - 1] + (the_month > 2 && leap));
|
preceding = (days_in_year[0][the_month - 1] + (the_month > 2 && leap));
|
||||||
if (preceding > remaining_days) {
|
if (preceding > remaining_days)
|
||||||
|
{
|
||||||
/* estimate is too large */
|
/* estimate is too large */
|
||||||
the_month -= 1;
|
the_month -= 1;
|
||||||
preceding -= leap ? days_in_months[1][the_month] :
|
preceding -= leap ? days_in_months[1][the_month]
|
||||||
days_in_months[0][the_month];
|
: days_in_months[0][the_month];
|
||||||
}
|
}
|
||||||
|
|
||||||
remaining_days -= preceding;
|
remaining_days -= preceding;
|
||||||
g_assert(0 <= remaining_days);
|
g_assert(0 <= remaining_days);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user