Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37630175
en ru br
ALT Linux repos
S:1.27-alt5
5.0: 1.27-alt3
4.1: 1.27-alt3
4.0: 1.27-alt3
3.0: 1.27-alt2

Group :: Graphical desktop/Window Maker
RPM: wmMoonClock

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: 02_update_time.diff
Download


Modify nMax values to sensible values for the new delay timer (Closes: #479229).
Author: Joerg Dietrich <joerg@dietrich.net>
==================================================================
--- wmmoonclock-1.27.orig/Src/wmMoonClock.c	2009-03-20 16:20:17.956636905 +0100
+++ wmmoonclock-1.27/Src/wmMoonClock.c	2009-03-20 16:35:25.361195797 +0100
@@ -251,11 +251,11 @@
 	    } else if (ToggleWindow == 1){
 	        /*
-	         *  Update Numerical Display
+	         *  Update Numerical Display
 	         */
-
-		nMAX = 500;
+		/* This requires second precision for LT and UT */
+		nMAX = 0;
 		/*
@@ -371,7 +371,7 @@
 		 */
-		nMAX = 500;
+		nMAX = 60;
 		/*
 		 * Clear plotting area
@@ -478,7 +478,7 @@
-		nMAX = 500;
+		nMAX = 3;
 		/*
 		 * Clear plotting area
@@ -580,7 +580,7 @@
-		nMAX = 500;
+		nMAX = 3;
 		/*
 		 * Clear plotting area
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin