& -> && d'oh

This commit is contained in:
lifekidyeaa 2007-06-10 19:07:27 +00:00
parent d6fcb879bf
commit 9afd086f1e
1 changed files with 1 additions and 1 deletions

View File

@ -320,7 +320,7 @@ wxClientDC dc(DrawPanel);
if(m_Pcb && m_Pcb->m_Modules){
TEXTE_MODULE* ref = m_Pcb->m_Modules->m_Reference;
TEXTE_MODULE* val = m_Pcb->m_Modules->m_Value;
if(val & ref){
if(val && ref){
ref->m_NoShow = 0;
val->m_NoShow = 0;
ref->m_Type = 0;