gcontini
2020-11-22 0fd661591e85bbf730bb274a56961432bceb7071
src/library/locate/ApplicationFolder.cpp
@@ -15,9 +15,9 @@
#include "../base/logger.h"
#include "../base/base.h"
#include "../base/EventRegistry.h"
#include "../base/FileUtils.hpp"
#include "../os/os.h"
#include "ApplicationFolder.hpp"
#include "../base/file_utils.hpp"
namespace license {
namespace locate {
@@ -33,7 +33,7 @@
   const FUNCTION_RETURN fret = getModuleName(fname);
   if (fret == FUNC_RET_OK) {
      const string module_name = remove_extension(fname);
      const string temptativeLicense = string(module_name) + LICENSE_FILE_EXTENSION;
      const string temptativeLicense = string(module_name) + LCC_LICENSE_FILE_EXTENSION;
      ifstream f(temptativeLicense.c_str());
      if (f.good()) {
         diskFiles.push_back(temptativeLicense);