isdef = !strcmp(ssd->sesslist->sessions[i], "Default Settings"); load_settings(ssd->sesslist->sessions[i], !isdef, cfg);
isdef = !strcmp(ssd->sesslist.sessions[i], "Default Settings"); load_settings(ssd->sesslist.sessions[i], !isdef, cfg);
static int load_selected_session(struct sessionsaver_data *ssd,				 char *savedsession,				 void *dlg, Config *cfg){    int i = dlg_listbox_index(ssd->listbox, dlg);    int isdef;    if (i < 0) {	dlg_beep(dlg);	return 0;    }    isdef = !strcmp(ssd->sesslist->sessions[i], "Default Settings");    load_settings(ssd->sesslist->sessions[i], !isdef, cfg);    if (!isdef) {	strncpy(savedsession, ssd->sesslist->sessions[i],		SAVEDSESSION_LEN);	savedsession[SAVEDSESSION_LEN-1] = '\0';    } else {	savedsession[0] = '\0';    }    dlg_refresh(NULL, dlg);    /* Restore the selection, which might have been clobbered by     * changing the value of the edit box. */    dlg_listbox_select(ssd->listbox, dlg, i);    return 1;}