| 286 | |
| 287 | |
| 288 | bool isDisplayStringExcluded(char *name) |
| 289 | { |
| 290 | fconfig_reloadenv(); |
| 291 | |
| 292 | char *dpyList = strdup(fconfig.excludeddpys); |
| 293 | char *excluded = strtok(dpyList, ", \t"); |
| 294 | while(excluded) |
| 295 | { |
| 296 | if(!strcasecmp(name, excluded)) |
| 297 | { |
| 298 | free(dpyList); return true; |
| 299 | } |
| 300 | excluded = strtok(NULL, ", \t"); |
| 301 | } |
| 302 | free(dpyList); |
| 303 | return false; |
| 304 | } |
| 305 | |
| 306 | |
| 307 | extern "C" { |
no test coverage detected