Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 3, 2018, 11:09:12 AM (7 years ago)
Author:
landauf
Message:

whoops. must remove the extensions from the library's file name before loading it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/libraries/core/ApplicationPaths.cc

    r11692 r11696  
    212212                    if (infile >> libraryName)
    213213                    {
    214                         std::string libraryPath = directory.BF_GENERIC_STRING() + '/' + libraryName;
     214                        std::string libraryNameWithoutExtension = libraryName.substr(0, libraryName.find_first_of('.'));
     215                        std::string libraryPath = directory.BF_GENERIC_STRING() + '/' + libraryNameWithoutExtension;
    215216                        paths[moduleName] = libraryPath;
    216217                    }
Note: See TracChangeset for help on using the changeset viewer.