| 1863 | } |
| 1864 | |
| 1865 | static XFontStruct * |
| 1866 | X11_get_map_font_struct(struct xwindow *wp) |
| 1867 | { |
| 1868 | #ifdef ENHANCED_SYMBOLS |
| 1869 | struct map_info_t *map_info = wp->map_information; |
| 1870 | XFontStruct *fs = map_info->text_map.font; |
| 1871 | |
| 1872 | if (fs == NULL) { |
| 1873 | fs = WindowFontStruct(wp->w); |
| 1874 | } |
| 1875 | return fs; |
| 1876 | #else |
| 1877 | return WindowFontStruct(wp->w); |
| 1878 | #endif |
| 1879 | } |
| 1880 | |
| 1881 | /* |
| 1882 | * Destroy this map window. |
no test coverage detected