From 1b7389367897b858781790f2ada63203b4035ada Mon Sep 17 00:00:00 2001 From: krzys-h Date: Fri, 27 Dec 2013 21:46:16 +0100 Subject: Temporary fix for #232 - don't try to show the buttons This makes SatCom usable for now --- src/ui/edit.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ui/edit.cpp b/src/ui/edit.cpp index 67ed6a1..ff06161 100644 --- a/src/ui/edit.cpp +++ b/src/ui/edit.cpp @@ -1672,12 +1672,14 @@ bool CEdit::ReadText(std::string filename, int addSize) buffer[i+6] == 'n' && buffer[i+7] == ' ' ) { + /* TODO: \button X; isn't working. Issue #232 if ( m_bSoluce || !bInSoluce ) { m_text[j] = GetValueParam(buffer+i+8, 0); m_format[j] = font|Gfx::FONT_BUTTON; j ++; } + */ i += strchr(buffer+i, ';')-(buffer+i)+1; } else if ( //m_format.size() > 0 && -- cgit v1.2.3-1-g7c22