Commit d2ec8870 authored by claes's avatar claes

Bugfix in time order

parent f6faa7cc
......@@ -701,6 +701,7 @@ int WItemPkgPackage::open_children( WNavBrow *brow, double x, double y, int disp
if ( display_mode & wpkg_mDisplayMode_FileOrderTime) {
// Order in time
sts = brow_GetChild( brow->ctx, node, &child);
inserted = 0;
while ( ODD(sts)) {
brow_GetUserData( child, (void **)&item);
if ( item->time.tv_sec < time.tv_sec) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment