Lines Matching refs:comments
120 int could_open(const char *locale, char *comments) {
127 strcat(comments, tmp);
132 strcat(comments, tmp);
136 int col_could_open(const char *locale, char *comments) {
143 /*strcat(comments, tmp); */
148 /* strcat(comments, tmp); */
259 const char *locale, char *comments,
313 strcat(comments, tmp);
320 strcat(comments,tmp);
326 static void writeOkComments(XMLFile &xf, int ok, const char *comments, const char *locale) {
330 if(!comments||!*comments) {
334 sprintf(tmp, "%s <!-- %s -->", locale, comments);
336 } else if(comments&&*comments) {
337 sprintf(tmp, "<!-- !! %s: %s -->", locale, comments);
345 int could_fmt_dow(const char *locale, char *comments) {
353 locale, comments,
359 strcat(comments, tmp);
363 strcat(comments, tmp);
369 char comments[1000];
375 comments[0]=0;
377 if(!could_open(locale, comments)) {
382 if(!could_fmt_dow(locale, comments)) {
387 writeOkComments(xf,ok, comments,locale);
391 char comments[1000];
398 comments[0]=0;
400 if(!col_could_open(locale, comments)) {
405 if(!col_could_fmt_dow(locale, comments)) {
409 writeOkComments(xf,ok, comments,locale);