~ubuntu-branches/ubuntu/lucid/wmmoonclock/lucid

« back to all changes in this revision

Viewing changes to debian/patches/02_update_time.diff

  • Committer: Bazaar Package Importer
  • Author(s): Denis Briand
  • Date: 2009-07-26 10:30:00 UTC
  • Revision ID: james.westby@ubuntu.com-20090726103000-2y5ws6okikxakvfp
Tags: 1.27-28
* Add southern hemisphere support (Closes: #537480).
  Thanks to Alvaro Steiger.
* Bump standards version to 3.8.2.0
* Add quilt patch system.
* Add patches:
  + 01_all_previous_diff.diff
  + 02_update_time.diff
  + 03_add_southern_hemisphere_support.diff
  + 04_fix_hyphen_used_as_minus_sign.diff
* Add debhelper 7 build depends.
* Add debian/compat file.
* Remove trailing whitespaces in changelog.upstream.
* Add an empty watch file (no upstream repository).
* Improve rules file by using more debhelper commands.
* Remove Martin A. Godisch from uploaders field
  Thanks to him to have sponsored wmmoonclock.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Modify nMax values to sensible values for the new delay timer (Closes: #479229).
 
2
Author: Joerg Dietrich <joerg@dietrich.net>
 
3
==================================================================
 
4
--- wmmoonclock-1.27.orig/Src/wmMoonClock.c     2009-03-20 16:20:17.956636905 +0100
 
5
+++ wmmoonclock-1.27/Src/wmMoonClock.c  2009-03-20 16:35:25.361195797 +0100
 
6
@@ -251,11 +251,11 @@
 
7
            } else if (ToggleWindow == 1){
 
8
 
 
9
                /*
 
10
-                *  Update Numerical Display
 
11
+                *  Update Numerical Display
 
12
                 */
 
13
 
 
14
-
 
15
-               nMAX = 500;
 
16
+               /* This requires second precision for LT and UT */
 
17
+               nMAX = 0;
 
18
 
 
19
 
 
20
                /*
 
21
@@ -371,7 +371,7 @@
 
22
                 */
 
23
 
 
24
 
 
25
-               nMAX = 500;
 
26
+               nMAX = 60;
 
27
 
 
28
                /*
 
29
                 * Clear plotting area
 
30
@@ -478,7 +478,7 @@
 
31
 
 
32
 
 
33
 
 
34
-               nMAX = 500;
 
35
+               nMAX = 3;
 
36
 
 
37
                /*
 
38
                 * Clear plotting area
 
39
@@ -580,7 +580,7 @@
 
40
 
 
41
 
 
42
 
 
43
-               nMAX = 500;
 
44
+               nMAX = 3;
 
45
 
 
46
                /*
 
47
                 * Clear plotting area