31 | 31 |
if (colorize) colorize_element(ELEMENT_WEEKDAY_NAMES);
|
32 | 32 |
for (column = 1; column < 7; column++) print_dow_column(column);
|
33 | 33 |
if (colorize) colorize_element(ELEMENT_SHABBAT_NAME);
|
34 | |
@@ -1149,31 +1149,15 @@ void print_week( int jd, const int month
|
|
34 |
@@ -1152,31 +1152,15 @@ void print_week( int jd, const int month
|
35 | 35 |
|
36 | 36 |
|
37 | 37 |
|
|
66 | 66 |
break;
|
67 | 67 |
case 1:
|
68 | 68 |
case 3:
|
69 | |
@@ -1177,14 +1165,30 @@ int print_calendar ( const int current_m
|
|
69 |
@@ -1184,14 +1168,30 @@ int print_calendar ( const int current_m
|
70 | 70 |
case 7:
|
71 | 71 |
case 8:
|
72 | 72 |
case 10:
|
|
100 | 100 |
/*********************************************************
|
101 | 101 |
* Preliminaries:
|
102 | 102 |
* - Find the first sunday(s) of each calendar
|
103 | |
@@ -1190,7 +1190,7 @@ int print_calendar ( const int current_m
|
|
103 |
@@ -1199,7 +1199,7 @@ int print_calendar ( const int current_m
|
104 | 104 |
*********************************************************/
|
105 | 105 |
hdate_set_gdate (&h, 1, current_month, current_year);
|
106 | 106 |
jd_current_month = h.hd_jd - h.hd_dw + 1;
|
|
109 | 109 |
|
110 | 110 |
/*********************************************************
|
111 | 111 |
* three months, side-by-side
|
112 | |
@@ -1212,7 +1212,7 @@ int print_calendar ( const int current_m
|
|
112 |
@@ -1221,7 +1221,7 @@ int print_calendar ( const int current_m
|
113 | 113 |
}
|
114 | 114 |
hdate_set_gdate (&h, 1, previous_month, previous_year);
|
115 | 115 |
jd_previous_month = h.hd_jd - h.hd_dw + 1;
|
|
118 | 118 |
|
119 | 119 |
/*********************************************************
|
120 | 120 |
* next month
|
121 | |
@@ -1229,7 +1229,7 @@ int print_calendar ( const int current_m
|
|
121 |
@@ -1238,7 +1238,7 @@ int print_calendar ( const int current_m
|
122 | 122 |
}
|
123 | 123 |
hdate_set_gdate (&h, 1, next_month, next_year);
|
124 | 124 |
jd_next_month = h.hd_jd - h.hd_dw + 1;
|
|
129 | 129 |
|
130 | 130 |
--- a/examples/hcal/local_functions.c
|
131 | 131 |
+++ b/examples/hcal/local_functions.c
|
132 | |
@@ -646,62 +646,50 @@ file. Attempting to create a config file
|
|
132 |
@@ -645,62 +645,50 @@ file. Attempting to create a config file
|
133 | 133 |
}
|
134 | 134 |
|
135 | 135 |
|
|
210 | 210 |
config_home_path_name, config_sub_path_name,
|
211 | 211 |
config_dir_name);
|
212 | 212 |
|
213 | |
@@ -712,13 +700,30 @@ FILE* get_config_file( const char* confi
|
|
213 |
@@ -711,13 +699,30 @@ FILE* get_config_file( const char* confi
|
214 | 214 |
return FALSE;
|
215 | 215 |
}
|
216 | 216 |
greetings_to_version_16();
|
|
242 | 242 |
|
243 | 243 |
/************************************************************
|
244 | 244 |
* main part of function get_config_file
|
245 | |
@@ -750,7 +755,9 @@ FILE* get_config_file( const char* confi
|
|
245 |
@@ -749,7 +754,9 @@ FILE* get_config_file( const char* confi
|
246 | 246 |
config_home_path_name, config_sub_path_name,
|
247 | 247 |
config_dir_name, config_file_name);
|
248 | 248 |
|