whitespace

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9324 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Spray 2004-11-29 21:44:26 +00:00
parent 84ff0a283c
commit e171a6a69f
2 changed files with 7 additions and 7 deletions

View File

@ -56,7 +56,7 @@ void GErrorList::doBuild()
void GErrorList::update()
{
setTitle(controller().name());
setTitle(controller().name());
updateContents();
}

View File

@ -102,10 +102,10 @@ void GMathsMatrix::updateHorzAlignEntry()
if (ignoreHorzAlign_) return;
Glib::ustring orig = horzalignentry_->get_text();
Glib::ustring stripped;
Glib::ustring stripped;
Glib::ustring::iterator cur;
for (cur = orig.begin(); cur != orig.end(); ++cur) {
Glib::ustring::iterator cur;
for (cur = orig.begin(); cur != orig.end(); ++cur) {
if (*cur == 'c' || *cur == 'l' ||
*cur == 'r' || *cur == '|')
stripped += *cur;
@ -125,7 +125,7 @@ void GMathsMatrix::updateHorzAlignEntry()
barcount = countbars(stripped);
}
if (orig.compare(stripped) != 0) {
if (orig.compare(stripped) != 0) {
ignoreHorzAlign_ = true;
horzalignentry_->set_text(stripped);
ignoreHorzAlign_ = false;
@ -135,8 +135,8 @@ void GMathsMatrix::updateHorzAlignEntry()
int GMathsMatrix::countbars(Glib::ustring str)
{
int barcount = 0;
Glib::ustring::iterator cur = str.begin();
Glib::ustring::iterator end = str.end();
Glib::ustring::iterator cur = str.begin();
Glib::ustring::iterator end = str.end();
for (; cur != end; ++cur) {
if (*cur == '|')
++barcount;