diff --git a/docs/publicity/publicity.txt b/docs/publicity/publicity.txt index 362a44be1c..565119023c 100644 --- a/docs/publicity/publicity.txt +++ b/docs/publicity/publicity.txt @@ -32,7 +32,7 @@ comp.windows.x.motif News and links sites: ----------------------- -slashdot.org, freshmeat.net +slashdot.org, freshmeat.net, http://lwn.net/ Many of these links will be out of date now: diff --git a/samples/newgrid/griddemo.cpp b/samples/newgrid/griddemo.cpp index e512ae2354..e1820b8a53 100644 --- a/samples/newgrid/griddemo.cpp +++ b/samples/newgrid/griddemo.cpp @@ -249,6 +249,7 @@ GridFrame::GridFrame() grid->CreateGrid( 0, 0 ); grid->AppendRows(100); grid->AppendCols(100); + int ir = grid->GetNumberRows(); grid->DeleteRows(0, ir); grid->AppendRows(ir);