Fix sqlite3 not being usable as backend

This commit is contained in:
Sfan5 2014-03-05 22:40:01 +01:00
parent 7e3e0a067c
commit 0a5a0d0d51
1 changed files with 1 additions and 1 deletions

View File

@ -295,7 +295,7 @@ void TileGenerator::openDb(const std::string &input)
if(m_backend == "sqlite3")
m_db = new DBSQLite3(input);
#if USE_LEVELDB
if(m_backend == "leveldb")
else if(m_backend == "leveldb")
m_db = new DBLevelDB(input);
#endif
else