mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix a typo in a comment, and indentition of if conditional content.
This commit is contained in:
parent
b60057dbeb
commit
cf1d51c3a0
@ -328,7 +328,7 @@ static Account *gnc_ofx_new_account(const char* name,
|
|||||||
/* LibOFX has a daylight time handling bug,
|
/* LibOFX has a daylight time handling bug,
|
||||||
* https://sourceforge.net/p/libofx/bugs/39/, which causes it to adjust the
|
* https://sourceforge.net/p/libofx/bugs/39/, which causes it to adjust the
|
||||||
* timestamp for daylight time even when daylight time is not in
|
* timestamp for daylight time even when daylight time is not in
|
||||||
* effect. HAvE_OFX_BUG_39 reflects the result of checking for this bug during
|
* effect. HAVE_OFX_BUG_39 reflects the result of checking for this bug during
|
||||||
* configuration, and fix_ofx_bug_39() corrects for it.
|
* configuration, and fix_ofx_bug_39() corrects for it.
|
||||||
*/
|
*/
|
||||||
static time64
|
static time64
|
||||||
@ -338,7 +338,7 @@ fix_ofx_bug_39 (time64 t)
|
|||||||
struct tm stm;
|
struct tm stm;
|
||||||
gnc_localtime_r(&t, &stm);
|
gnc_localtime_r(&t, &stm);
|
||||||
if (daylight && !stm.tm_isdst)
|
if (daylight && !stm.tm_isdst)
|
||||||
t += 3600;
|
t += 3600;
|
||||||
#endif
|
#endif
|
||||||
return t;
|
return t;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user