summaryrefslogtreecommitdiffstats
path: root/doc/html/life-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/life-example.html')
-rw-r--r--doc/html/life-example.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/html/life-example.html b/doc/html/life-example.html
index 007905bcd..9cfa6a196 100644
--- a/doc/html/life-example.html
+++ b/doc/html/life-example.html
@@ -141,14 +141,14 @@ void <a name="f518"></a>LifeWidget::clear()
for ( int t = 0; t &lt; 2; t++ )
for ( int i = 0; i &lt; MAXSIZE + 2; i++ )
for ( int j = 0; j &lt; MAXSIZE + 2; j++ )
- cells[t][i][j] = FALSE;
+ cells[t][i][j] = false;
<a href="tqwidget.html#repaint">repaint</a>();
}
// We assume that the size will never be beyond the maximum size set
-// this is not in general TRUE, but in practice it's good enough for
+// this is not in general true, but in practice it's good enough for
// this program
<a name="x1889"></a>void LifeWidget::<a href="tqframe.html#resizeEvent">resizeEvent</a>( <a href="tqresizeevent.html">TQResizeEvent</a> * e )
@@ -162,8 +162,8 @@ void <a name="f519"></a>LifeWidget::setPoint( int i, int j )
{
if ( i &lt; 1 || i &gt; maxi || j &lt; 1 || j &gt; maxi )
return;
- cells[current][i][j] = TRUE;
- <a href="tqwidget.html#repaint">repaint</a>( index2pos(i), index2pos(j), SCALE, SCALE, FALSE );
+ cells[current][i][j] = true;
+ <a href="tqwidget.html#repaint">repaint</a>( index2pos(i), index2pos(j), SCALE, SCALE, false );
}
@@ -206,7 +206,7 @@ void <a name="f521"></a>LifeWidget::nextGeneration()
}
}
current = !current;
- <a href="tqwidget.html#repaint">repaint</a>( FALSE ); // repaint without erase
+ <a href="tqwidget.html#repaint">repaint</a>( false ); // repaint without erase
}