Codebase list libhdate / aed03d7
Refresh patches Tzafrir Cohen 6 years ago
2 changed file(s) with 10 addition(s) and 10 deletion(s). Raw diff Collapse all Expand all
3131 if (colorize) colorize_element(ELEMENT_WEEKDAY_NAMES);
3232 for (column = 1; column < 7; column++) print_dow_column(column);
3333 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
3535
3636
3737
6666 break;
6767 case 1:
6868 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
7070 case 7:
7171 case 8:
7272 case 10:
100100 /*********************************************************
101101 * Preliminaries:
102102 * - 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
104104 *********************************************************/
105105 hdate_set_gdate (&h, 1, current_month, current_year);
106106 jd_current_month = h.hd_jd - h.hd_dw + 1;
109109
110110 /*********************************************************
111111 * 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
113113 }
114114 hdate_set_gdate (&h, 1, previous_month, previous_year);
115115 jd_previous_month = h.hd_jd - h.hd_dw + 1;
118118
119119 /*********************************************************
120120 * 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
122122 }
123123 hdate_set_gdate (&h, 1, next_month, next_year);
124124 jd_next_month = h.hd_jd - h.hd_dw + 1;
129129
130130 --- a/examples/hcal/local_functions.c
131131 +++ 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
133133 }
134134
135135
210210 config_home_path_name, config_sub_path_name,
211211 config_dir_name);
212212
213 @@ -712,13 +700,30 @@ FILE* get_config_file( const char* confi
213 @@ -711,13 +699,30 @@ FILE* get_config_file( const char* confi
214214 return FALSE;
215215 }
216216 greetings_to_version_16();
242242
243243 /************************************************************
244244 * 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
246246 config_home_path_name, config_sub_path_name,
247247 config_dir_name, config_file_name);
248248
11 Author: Tzafrir Cohen <tzafrir@debian.org>
22 --- a/examples/hcal/local_functions.c
33 +++ b/examples/hcal/local_functions.c
4 @@ -247,11 +247,11 @@ void revstr( char *source, const size_t
4 @@ -251,11 +251,11 @@ void revstr( char *source, const size_t
55
66 #define DEBUG 0
77 #if DEBUG
1515
1616 size_t i,j;
1717 char *temp_buff;
18 @@ -272,7 +272,7 @@ printf("\nrevstr: entry: sourcelen = %d,
18 @@ -276,7 +276,7 @@ printf("\nrevstr: entry: sourcelen = %ld
1919 memcpy(source, temp_buff, source_len);
2020 source[source_len] = '\0';
2121 #if DEBUG