rem: char *locale;
add: char *locale, *path;
context: main(int argc, char **argv){    Display *dpy;    WMScreen *scr;    char *locale;    int i;    char *display_name="";    wsetabort(wAbort);    memset(DeadHandlers, 0, sizeof(DeadHandlers));    WMInitializeApplication("WPrefs", &argc, argv);    if (argc>1) {        for (i=1; i<argc; i++) {            if (strcmp(argv[i], "-version")==0                || strcmp(argv[i], "--version")==0) {                printf("WPrefs (Window Maker) %s\n", VERSION);                exit(0);            } else if (strcmp(argv[i], "-display")==0) {                i++;                if (i>=argc) {                    wwarning(_("too few arguments for %s"), argv[i-1]);                    exit(0);                }                display_name = argv[i];            } else {                print_help(argv[0]);                exit(0);            }        }    }    locale = getenv("LANG");    setlocale(LC_ALL, "");#ifdef I18N    if (getenv("NLSPATH"))        bindtextdomain("WPrefs", getenv("NLSPATH"));    else        bindtextdomain("WPrefs", LOCALEDIR);    bind_textdomain_codeset("WPrefs", "UTF-8");    textdomain("WPrefs");    if (!XSupportsLocale()) {        wwarning(_("X server does not support locale"));    }    if (XSetLocaleModifiers("") == NULL) {        wwarning(_("cannot set locale modifiers"));    }#endif    dpy = XOpenDisplay(display_name);    if (!dpy) {        wfatal(_("could not open display %s"), XDisplayName(display_name));        exit(0);    }#if 0    XSynchronize(dpy, 1);#endif    scr = WMCreateScreen(dpy, DefaultScreen(dpy));    if (!scr) {        wfatal(_("could not initialize application"));        exit(0);    }    WMPLSetCaseSensitive(False);    Initialize(scr);    while (1) {        XEvent event;        WMNextEvent(dpy, &event);        while (DeadChildrenCount-- > 0) {            int i;            for (i=0; i<MAX_DEATHS; i++) {                if (DeadChildren[i] == DeadHandlers[i].pid) {                    (*DeadHandlers[i].handler)(DeadHandlers[i].data);                    DeadHandlers[i].pid = 0;                }            }        }        WMHandleEvent(&event);    }}