* Allocate a copy of the given string. If null, return a string of * zero length. */
| 1152 | * zero length. |
| 1153 | */ |
| 1154 | static char * |
| 1155 | copy_of(const char *s) |
| 1156 | { |
| 1157 | if (!s) |
| 1158 | s = ""; |
| 1159 | return dupstr(s); |
| 1160 | } |
| 1161 | |
| 1162 | /* |
| 1163 | * Create ok, cancel, all, none, invert, and search buttons. |
no test coverage detected