fixed incorrect mapping from selected source to type

git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@351 15ad00c4-1369-45f4-8270-35d70d36bdcd
This commit is contained in:
Patrick Ohly 2007-04-09 19:58:51 +00:00
parent 7b6a72d62a
commit 7a84fc3a92
1 changed files with 1 additions and 1 deletions

View File

@ -318,7 +318,7 @@ private:
static SyncSource *createSource(ClientTest &client, int type, bool isSourceA) {
string changeID = "SyncEvolution Change ID #";
changeID += isSourceA ? "1" : "2";
string database = ((TestEvolution &)client).getDatabaseName((SourceType)type);
string database = ((TestEvolution &)client).getDatabaseName(((TestEvolution &)client).enabledSources[type]);
switch (type) {
#ifdef ENABLE_EBOOK