Some doc corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
6a611b39fe
commit
a98f98ac6f
11 changed files with 40 additions and 17 deletions
|
|
@ -683,7 +683,9 @@ int MyApp::OnExit()
|
|||
delete NormalFont;
|
||||
delete BoldFont;
|
||||
delete ItalicFont;
|
||||
delete poem_buffer;
|
||||
delete[] poem_buffer;
|
||||
if (search_string)
|
||||
delete[] search_string;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
@ -993,7 +995,7 @@ long MainWindow::DoSearch(void)
|
|||
// Load index (or compile it if none found)
|
||||
void TryLoadIndex()
|
||||
{
|
||||
index_ok = LoadIndex(index_filename);
|
||||
index_ok = (LoadIndex(index_filename) != 0);
|
||||
if (!index_ok || (nitems == 0))
|
||||
{
|
||||
PoetryError("Index file not found; will compile new one", "wxPoem");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue