Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/Makefile.am5
-rw-r--r--src/common/file.cc2
2 files changed, 4 insertions, 3 deletions
diff --git a/src/common/Makefile.am b/src/common/Makefile.am
index d7fc6e6..431cb8c 100644
--- a/src/common/Makefile.am
+++ b/src/common/Makefile.am
@@ -3,7 +3,8 @@ METASOURCES = AUTO
libcommon_la_LDFLAGS = -avoid-version -no-undefined
noinst_LTLIBRARIES = libcommon.la
libcommon_la_SOURCES = color.cc console.cc file.cc functions.cc inifile.cc \
- vector3f.cc
+ path.cc vector3f.cc
-noinst_HEADERS = color.h console.h file.h functions.h inifile.h vector3f.h
+noinst_HEADERS = color.h console.h file.h functions.h inifile.h path.h \
+ vector3f.h
diff --git a/src/common/file.cc b/src/common/file.cc
index 73537ec..6f4d6d4 100644
--- a/src/common/file.cc
+++ b/src/common/file.cc
@@ -59,7 +59,7 @@ void File::open(const char * filename, ios_base::openmode mode)
std::ifstream::open(fn.c_str(), mode);
if (!this->is_open()) {
- conmesg << "File could not open " << filename << std::endl;
+ conwarn << "Could not open " << filename << std::endl;
} else {
condebug << "File opened " << fn << std::endl;
}