Add library name pseudo-hash in fp_list_table GenerateTimestamp output
This commit is contained in:
parent
8444b1b617
commit
0e3be5776c
|
@ -241,7 +241,7 @@ long long FP_LIB_TABLE::GenerateTimestamp( const wxString* aNickname )
|
||||||
{
|
{
|
||||||
const FP_LIB_TABLE_ROW* row = FindRow( *aNickname );
|
const FP_LIB_TABLE_ROW* row = FindRow( *aNickname );
|
||||||
wxASSERT( (PLUGIN*) row->plugin );
|
wxASSERT( (PLUGIN*) row->plugin );
|
||||||
return row->plugin->GetLibraryTimestamp( row->GetFullURI( true ) );
|
return row->plugin->GetLibraryTimestamp( row->GetFullURI( true ) ) + wxHashTable::MakeKey( *aNickname );
|
||||||
}
|
}
|
||||||
|
|
||||||
long long hash = 0;
|
long long hash = 0;
|
||||||
|
@ -249,7 +249,7 @@ long long FP_LIB_TABLE::GenerateTimestamp( const wxString* aNickname )
|
||||||
{
|
{
|
||||||
const FP_LIB_TABLE_ROW* row = FindRow( nickname );
|
const FP_LIB_TABLE_ROW* row = FindRow( nickname );
|
||||||
wxASSERT( (PLUGIN*) row->plugin );
|
wxASSERT( (PLUGIN*) row->plugin );
|
||||||
hash += row->plugin->GetLibraryTimestamp( row->GetFullURI( true ) );
|
hash += row->plugin->GetLibraryTimestamp( row->GetFullURI( true ) ) + wxHashTable::MakeKey( nickname );
|
||||||
}
|
}
|
||||||
|
|
||||||
return hash;
|
return hash;
|
||||||
|
|
Loading…
Reference in New Issue