From 2b9297020ba80946607426598e7df3edea153096 Mon Sep 17 00:00:00 2001 From: Andrey Fedorushkov Date: Sun, 24 Mar 2013 00:37:48 +0400 Subject: [PATCH] eeschema: fix build when KICAD_GOST ON (insert in bzr4019) --- eeschema/component_references_lister.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/component_references_lister.cpp b/eeschema/component_references_lister.cpp index 389ed17321..e576e9ace4 100644 --- a/eeschema/component_references_lister.cpp +++ b/eeschema/component_references_lister.cpp @@ -800,7 +800,7 @@ int SCH_REFERENCE_LIST::CheckAnnotation( wxArrayString* aMessageList ) GetChars( componentFlatList[ii].GetRef() ), componentFlatList[ii].m_NumRef, componentFlatList[ii].m_Unit, - GetChars( componentFlatList[ii].m_Value-GetText() ), + GetChars( componentFlatList[ii].m_Value->GetText() ), GetChars( componentFlatList[next].GetRef() ), componentFlatList[next].m_NumRef, componentFlatList[next].m_Unit,