width = XTextWidth(font, buf, strlen(buf));
XDrawString(dpy, window, level_gc, xlim / 2 - width / 2, ylim / 4, buf, strlen(buf));
DrawCities(dpy, window, cmap, xlim, ylim);
width = XTextWidth(font, buf, strlen(buf));
XDrawString(dpy, window, level_gc, xlim / 2 - width / 2, ylim / 4, buf, strlen(buf));
DrawCities(dpy, window, cmap, xlim, ylim);