#435: fixed compiling error if no regex.h

This commit is contained in:
Andrey Prygunkov
2017-08-28 21:06:45 +02:00
parent 9f80f45fb9
commit 35d8aa5fa7
4 changed files with 5 additions and 3 deletions

View File

@@ -650,7 +650,7 @@ void QueueEditor::PrepareList(ItemList* itemList, IdList* idList,
bool QueueEditor::BuildIdListFromNameList(IdList* idList, NameList* nameList, DownloadQueue::EMatchMode matchMode, DownloadQueue::EEditAction action)
{
#ifndef HAVE_REGEX_H
if (matchMode == mmRegEx)
if (matchMode == DownloadQueue::mmRegEx)
{
return false;
}