1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in
Show
Ignore:
Timestamp:
02/02/11 22:36:28 (3 years ago)
Author:
pouillot
Message:

Re #313 (Split Windows installer) Make SD work with only 1 track

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/tgfdata/tracks.cpp

    r3301 r3303  
    298298         
    299299        // Check category. 
    300         if (std::find(_pPrivate->vecCatIds.begin(), _pPrivate->vecCatIds.end(), strCatId) 
    301                 == _pPrivate->vecCatIds.end()) 
     300        if (!strCatId.empty() 
     301                && std::find(_pPrivate->vecCatIds.begin(), _pPrivate->vecCatIds.end(), strCatId) 
     302                   == _pPrivate->vecCatIds.end()) 
    302303        { 
    303304                GfLogError("GfTracks::getFirstUsableTrack : No such category %s\n", strCatId.c_str());