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 ...@@ -701,6 +701,7 @@ int WItemPkgPackage::open_children( WNavBrow *brow, double x, double y, int disp
if ( display_mode & wpkg_mDisplayMode_FileOrderTime) { if ( display_mode & wpkg_mDisplayMode_FileOrderTime) {
// Order in time // Order in time
sts = brow_GetChild( brow->ctx, node, &child); sts = brow_GetChild( brow->ctx, node, &child);
inserted = 0;
while ( ODD(sts)) { while ( ODD(sts)) {
brow_GetUserData( child, (void **)&item); brow_GetUserData( child, (void **)&item);
if ( item->time.tv_sec < time.tv_sec) { 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