Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37538290
en ru br
Репозитории ALT
S:20.03-alt9
5.1: 12.11-alt0.M51.1
4.1: 8.02-alt1
4.0: 1.0-alt0.svn4742
www.altlinux.org/Changes

Группа :: Разработка/C++
Пакет: codeblocks

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: f700ec868532f4fd6784702ba086d900189864e8.patch
Скачать


From f700ec868532f4fd6784702ba086d900189864e8 Mon Sep 17 00:00:00 2001
From: ollydbg <ollydbg@2a5c6006-c6dd-42ca-98ab-0921f2732cef>
Date: Tue, 4 May 2021 10:54:31 +0000
Subject: [PATCH] * FileExplorer: fix a copy/paste error in void
 FileExplorer::WriteConfig()
This is reported and discussed in:
https://forums.codeblocks.org/index.php/topic,24473.msg166896.html#msg166896
git-svn-id: https://svn.code.sf.net/p/codeblocks/code/trunk@12319 2a5c6006-c6dd-42ca-98ab-0921f2732cef
---
 src/plugins/contrib/FileManager/FileExplorer.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/plugins/contrib/FileManager/FileExplorer.cpp b/src/plugins/contrib/FileManager/FileExplorer.cpp
index b0809d0b6..fb8ea9f4c 100644
--- a/src/plugins/contrib/FileManager/FileExplorer.cpp
+++ b/src/plugins/contrib/FileManager/FileExplorer.cpp
@@ -812,7 +812,7 @@ void FileExplorer::WriteConfig()
         wxString ref=wxString::Format(_T("FileExplorer/RootList/I%i"),i);
         cfg->Write(ref, m_Loc->GetString(m_favdirs.GetCount()+i));
     }
-    count=static_cast<int>(m_Loc->GetCount());
+    count=static_cast<int>(m_WildCards->GetCount());
     cfg->Write(_T("FileExplorer/WildMask/Len"), count);
     for(int i=0;i<count;i++)
     {
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin