~stellarium/stellarium/trunk

« back to all changes in this revision

Viewing changes to src/StelLocaleMgr.cpp

  • Committer: xalioth
  • Date: 2008-01-17 11:22:57 UTC
  • Revision ID: vcs-imports@canonical.com-20080117112257-t1f1aerzm4k8o55t
Reverted year zero.

Show diffs side-by-side

added added

removed removed

Lines of Context:
149
149
        // If needed, convert the year to BC and deal with year zero. (year -2 = 3BC, year 0 = 1BC
150
150
        if (year <= 0) 
151
151
        {
152
 
                //--year; Qt already does that apparently
 
152
                ++year; // We want a year zero, unlike what Qt wants
153
153
        }
154
154
        
155
155
        switch (date_format)