mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-10-29 07:45:05 -04:00
Fix the order issue in TreeView mode. (#3218)
This commit is contained in:
parent
bb94ec6d6f
commit
de085ba086
@ -1598,11 +1598,11 @@ static int ventoy_cmp_subdir(img_iterator_node *node1, img_iterator_node *node2)
|
||||
|
||||
if (c1 != c2)
|
||||
{
|
||||
break;
|
||||
return (c1 - c2);
|
||||
}
|
||||
}
|
||||
|
||||
return (c1 - c2);
|
||||
return *s1 - *s2;
|
||||
}
|
||||
|
||||
void ventoy_swap_img(img_info *img1, img_info *img2)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user