diff --git a/src/osg/DisplaySettings.cpp b/src/osg/DisplaySettings.cpp index 99b12ac45..43156bd26 100644 --- a/src/osg/DisplaySettings.cpp +++ b/src/osg/DisplaySettings.cpp @@ -734,7 +734,7 @@ void DisplaySettings::readEnvironmentalVariables() if (getEnvVar("OSG_KEYSTONE_FILES", value)) { #if defined(_WIN32) && !defined(__CYGWIN__) - char delimitor = ';'; + char delimiter = ';'; #else char delimiter = ':'; #endif @@ -798,7 +798,7 @@ void DisplaySettings::readEnvironmentalVariables() if (getEnvVar("OSG_SHADER_PIPELINE_FILES", value)) { #if defined(_WIN32) && !defined(__CYGWIN__) - char delimitor = ';'; + char delimiter = ';'; #else char delimiter = ':'; #endif diff --git a/src/osgDB/FileUtils.cpp b/src/osgDB/FileUtils.cpp index 2328e5f87..3c61dae62 100644 --- a/src/osgDB/FileUtils.cpp +++ b/src/osgDB/FileUtils.cpp @@ -275,7 +275,7 @@ bool osgDB::setCurrentWorkingDirectory( const std::string &newCurrentWorkingDire void osgDB::convertStringPathIntoFilePathList(const std::string& paths,FilePathList& filepath) { #if defined(_WIN32) && !defined(__CYGWIN__) - char delimitor = ';'; + char delimiter = ';'; #else char delimiter = ':'; #endif