Buffer * BufferList::first()
{
- if (bstore.empty()) return 0;
+ if (bstore.empty())
+ return 0;
return bstore.front();
}
Buffer * BufferList::getBuffer(unsigned int choice)
{
- if (choice >= bstore.size()) return 0;
+ if (choice >= bstore.size())
+ return 0;
return bstore[choice];
}
}
}
if (!templateok) {
- Alert::alert(_("Error!"), _("Unable to open template"),
+ Alert::alert(_("Error!"), _("Unable to open template"),
MakeDisplayPath(tname));
// no template, start with empty buffer
b->paragraph = new Paragraph;