~ubuntu-branches/ubuntu/karmic/gnucash/karmic

« back to all changes in this revision

Viewing changes to src/import-export/hbci/gnc-hbci-getbalance.c

  • Committer: Bazaar Package Importer
  • Author(s): Lionel Le Folgoc
  • Date: 2007-04-30 15:27:10 UTC
  • mfrom: (1.2.7 upstream) (2.1.2 etch)
  • Revision ID: james.westby@ubuntu.com-20070430152710-t8mb62uqd4zpw9q2
Tags: 2.0.5-1ubuntu1
* Merge with Debian Unstable, Ubuntu changes:
  - Build-Depends on libgoffice-0-dev instead of libgoffice-1-dev.
* debian/control: Adhere to DebianMaintainerField.

Show diffs side-by-side

added added

removed removed

Lines of Context:
217
217
    ti=AB_Balance_GetTime(booked_grp);
218
218
    if (ti)
219
219
      booked_tt = GWEN_Time_toTime_t (ti);
 
220
    else
 
221
      /* No time found? Use today because the HBCI query asked for
 
222
         today's balance. */
 
223
      booked_tt = gnc_timet_get_day_start(time(NULL));
220
224
    booked_val = AB_Balance_GetValue(booked_grp);
221
225
    if (booked_val)
222
226
      booked_value = AB_Value_GetValue (booked_val);