• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

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

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

oga's tools


コミットメタ情報

リビジョン6a931b59efdf043f4b65d2f392952c3b6db78b3f (tree)
日時2014-11-03 20:41:32
作者oga <hyperoga@gmai...>
コミッターoga

ログメッセージ

V1.91b some change

変更サマリ

差分

--- a/cal.c
+++ b/cal.c
@@ -190,7 +190,6 @@ char *b[];
190190
191191 if (a > 1 && strcmp(b[1],"-h") == 0) {
192192 print_usage();
193- restore_color(); /* V1.91-A */
194193 exit(1);
195194 }
196195
@@ -226,13 +225,11 @@ char *b[];
226225 if (year < 1) {
227226 printf("Invalid Year value. ( year > 0 )\n");
228227 print_usage();
229- restore_color(); /* V1.91-A */
230228 exit(1);
231229 }
232230 if (month < 0 || month > 12) {
233231 printf("Invalid Month value.\n");
234232 print_usage();
235- restore_color(); /* V1.91-A */
236233 exit(1);
237234 }
238235
@@ -755,6 +752,7 @@ void print_usage()
755752 sprintf(msg, "\n%s usage : cal [-h] [[month] year] %s\n\n",yellow,normal);
756753 printf_nt(msg);
757754 /* V1.90-C end */
755+ restore_color(); /* V1.91-A */
758756 #endif
759757 printf("Environment Variable\n");
760758 #ifdef X_H3050R