rem: col = WMGetBrowserSelectedColumn(panel->browser);
add: col = WMGetBrowserNumberOfColumns(panel->browser) - 1;
context: validOpenFile(WMFilePanel *panel){    WMListItem *item;    int col;    col = WMGetBrowserSelectedColumn(panel->browser);    item = WMGetBrowserSelectedItemInColumn(panel->browser, col);    if (item) {	if (item->isBranch && !panel->flags.canChooseDirectories)	    return False;	else if (!item->isBranch && !panel->flags.canChooseFiles)	    return False;    }    return True;}