~matttbe/ubuntu/quantal/lxpanel/lp1013171

« back to all changes in this revision

Viewing changes to src/plugins/dclock.c

  • Committer: Bazaar Package Importer
  • Author(s): Julien Lavergne
  • Date: 2011-07-24 15:41:01 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20110724154101-pdss358hu486lp7h
Tags: 0.5.7-0ubuntu1
* New upstream release.
* debian/patches:
 - 80_translations.patch: Remove, merged upstream.
 - batt_status.patch: Remove, merged upstream.
 - configure_X11.patch: Remove, merged upstream.
 - missing_glades.patch: Remove, not needed now.
 - redefine-alarm-variable.patch: Remove, merged upstream.
 - indicator-support.patch: Fix Makefile.am.
 - fix_requisition.patch: New patch, fix crash when clicking on the panel.

Show diffs side-by-side

added added

removed removed

Lines of Context:
151
151
         * add number of milliseconds after that until next minute boundary. */
152
152
        if (dc->expiration_interval == ONE_MINUTE_INTERVAL)
153
153
        {
154
 
            time_t seconds = 60 - (current_time.tv_sec - (current_time.tv_sec / 60) * 60) - 1;
 
154
            time_t seconds = 60 - (current_time.tv_sec - (current_time.tv_sec / 60) * 60);
155
155
            milliseconds += seconds * 1000;
156
156
        }
157
157
    }