~ubuntu-branches/ubuntu/karmic/wmsun/karmic

« back to all changes in this revision

Viewing changes to wmSun/wmSun.c

  • Committer: Bazaar Package Importer
  • Author(s): Martin A. Godisch
  • Date: 2008-10-26 10:03:16 UTC
  • mfrom: (5.1.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20081026100316-4w7x1ls131vlb0ta
Tags: 1.03-27
* Applied patch for DST changes, closes: #414489.
  Thanks to Martin Stigge.
* Removed db_purge in postrm, closes: #502521.
  Thanks to Cesare Tirabassi.
* Fixed copyright file.
* Updated standards version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
180
180
        if (n>nMAX){
181
181
 
182
182
            n = 0;
183
 
            nMAX = 1000;
 
183
            nMAX = 60;
184
184
 
185
185
 
186
186
            CurrentGMTTime = time(CurrentTime); GMTTime = gmtime(&CurrentGMTTime); 
194
194
            CurrentLocalTime = CurrentGMTTime; LocalTime = localtime(&CurrentLocalTime);
195
195
            LocalDayOfMonth = LocalTime->tm_mday;
196
196
 
197
 
            if ((OldLocalDayOfMonth != LocalDayOfMonth)||(Flag)){
 
197
// Redraw always to catch e.g. DST changes (M. Stigge, 2008-04-10)
 
198
//          if ((OldLocalDayOfMonth != LocalDayOfMonth)||(Flag)){
198
199
 
199
200
                Flag = 0;
200
201
 
251
252
                    copyXPMArea(10, 84, 28, 7, 19, 40);
252
253
                }
253
254
 
254
 
            }
 
255
//          }
255
256
 
256
257
            OldLocalDayOfMonth = LocalDayOfMonth;
257
258