Skip to content

Commit

Permalink
fix for alien items
Browse files Browse the repository at this point in the history
  • Loading branch information
shokrof committed Sep 11, 2021
1 parent 5d369f0 commit 94aa25f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/gqf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3244,7 +3244,11 @@ uint64_t itemOrder(QF* qf,uint64_t item){
return 0;
}
char* blockLabel;
qf_getBlockLabel_pointer_byItem(qf,item,blockLabel);
bool res=qf_getBlockLabel_pointer_byItem(qf,item,blockLabel);
if(!res)
{
throw std::logic_error("item not found!");
}
uint32_t order=0;
order=*((uint32_t*)blockLabel);
QFi itemIt,blockIT;
Expand Down

0 comments on commit 94aa25f

Please sign in to comment.