mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-08-27 16:01:14 +00:00
Fix the order issue in TreeView mode. (#3218)
This commit is contained in:
@@ -1598,11 +1598,11 @@ static int ventoy_cmp_subdir(img_iterator_node *node1, img_iterator_node *node2)
|
|||||||
|
|
||||||
if (c1 != c2)
|
if (c1 != c2)
|
||||||
{
|
{
|
||||||
break;
|
return (c1 - c2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return (c1 - c2);
|
return *s1 - *s2;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ventoy_swap_img(img_info *img1, img_info *img2)
|
void ventoy_swap_img(img_info *img1, img_info *img2)
|
||||||
|
Reference in New Issue
Block a user