From a3746500f4fd80cdd2af85825ff452a857423063 Mon Sep 17 00:00:00 2001 From: Sven Strickroth Date: Fri, 2 Jan 2015 00:03:02 +0100 Subject: [PATCH] Fixed c&p error: Usage of wrong path Signed-off-by: Sven Strickroth --- src/Utils/MiscUI/SciEdit.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Utils/MiscUI/SciEdit.cpp b/src/Utils/MiscUI/SciEdit.cpp index 43585e285..251f0ea35 100644 --- a/src/Utils/MiscUI/SciEdit.cpp +++ b/src/Utils/MiscUI/SciEdit.cpp @@ -1,6 +1,6 @@ // TortoiseGit - a Windows shell extension for easy version control -// Copyright (C) 2012-2014 - TortoiseGit +// Copyright (C) 2012-2015 - TortoiseGit // Copyright (C) 2003-2008,2012-2014 - TortoiseSVN // This program is free software; you can redistribute it and/or @@ -326,10 +326,10 @@ BOOL CSciEdit::LoadDictionaries(LONG lLanguageID) #if THESAURUS if (pThesaur==NULL) { - if ((PathFileExists(sFolderAppData + _T("th_") + sFile + _T("_v2.idx"))) && - (PathFileExists(sFolderAppData + _T("th_") + sFile + _T("_v2.dat")))) + if ((PathFileExists(sFolderAppData + _T("dic\\th_") + sFile + _T("_v2.idx"))) && + (PathFileExists(sFolderAppData + _T("dic\\th_") + sFile + _T("_v2.dat")))) { - pThesaur = new MyThes(CStringA(sFolderAppData + sFile + _T("_v2.idx")), CStringA(sFolderAppData + sFile + _T("_v2.dat"))); + pThesaur = new MyThes(CStringA(sFolderAppData + _T("dic\\th_") + sFile + _T("_v2.idx")), CStringA(sFolderAppData + _T("dic\\th_") + sFile + _T("_v2.dat"))); } else if ((PathFileExists(sFolder + _T("th_") + sFile + _T("_v2.idx"))) && (PathFileExists(sFolder + _T("th_") + sFile + _T("_v2.dat")))) -- 2.11.4.GIT