• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Functions for working with the idealized calendar of Planet Xhilr


コミットメタ情報

リビジョンeb373eaf8b82c3e146cb2fd1c0800932de9ea2ac (tree)
日時2017-06-13 17:13:52
作者Joel Matthew Rees <joel.rees@gmai...>
コミッターJoel Matthew Rees

ログメッセージ

segfaults, FWIW

変更サマリ

差分

--- a/econcal.c
+++ b/econcal.c
@@ -146,7 +146,7 @@ typedef signed char sbyte_t;
146146 #define SKIPyear_short_1 1
147147 #define SKIPyear_short_2 4
148148 #define SKIPyear_medium 48
149-#define SKIPyear_long 186 /* Must be short1 or short2 within the seven year cycle. */
149+#define LEAPyear_long 186 /* Must be short1 or short2 within the seven year cycle. */
150150
151151
152152 /* Since skipyears are the exception, we test for skipyears instead of leapyears.
@@ -163,7 +163,7 @@ int isskipyr( long year )
163163 { return 0;
164164 }
165165 rem = year % YEARcycle_long;
166- if ( rem == SKIPyear_long ) /* Must be short1 or short2 within the seven year cycle. */
166+ if ( rem == LEAPyear_long ) /* Must be short1 or short2 within the seven year cycle. */
167167 { return 0;
168168 }
169169 return 1;