Ticket #3497: panel.c.diff

File panel.c.diff, 640 bytes (added by Nicolas Rybkin, 9 years ago)
Line 
13238a3239,3240
2>     static gboolean unsort = FALSE;/*new*/
3>     static panel_field_t *pfield0;/*new*/
43249a3252,3267
5> /*This is to turn sorting off automatically when enter some particular extfs.*/
6>     if(unsort == TRUE)
7>       {
8>       panel_set_sort_order (panel, pfield0);
9>       unsort = FALSE;
10>       }
11>     if (strlen(new_dir_vpath->str) > 4 && !strcmp(new_dir_vpath->str+
12>       strlen(new_dir_vpath->str)-4, "://u"))
13>       {
14>         *(new_dir_vpath->str+strlen(new_dir_vpath->str)-1) = (char)0;
15>         pfield0 = (panel_field_t *)panel->sort_field;
16>       panel_set_sort_order (panel, &panel_fields[0]);
17>       unsort = TRUE;
18>         }
19> /* end */
20>