Draw horizontal line N characters long using unicode box ** characters */
| 13153 | ** characters |
| 13154 | */ |
| 13155 | static void print_box_line(FILE *out, int N){ |
| 13156 | const char zDash[] = |
| 13157 | BOX_24 BOX_24 BOX_24 BOX_24 BOX_24 BOX_24 BOX_24 BOX_24 BOX_24 BOX_24 |
| 13158 | BOX_24 BOX_24 BOX_24 BOX_24 BOX_24 BOX_24 BOX_24 BOX_24 BOX_24 BOX_24; |
| 13159 | const int nDash = sizeof(zDash) - 1; |
| 13160 | N *= 3; |
| 13161 | while( N>nDash ){ |
| 13162 | utf8_printf(out, zDash); |
| 13163 | N -= nDash; |
| 13164 | } |
| 13165 | utf8_printf(out, "%.*s", N, zDash); |
| 13166 | } |
| 13167 | |
| 13168 | /* |
| 13169 | ** Draw a horizontal separator for a MODE_Box table. |
no test coverage detected