Browse Source

Removed a gcc warning.

merge-requests/365/head
eidheim 10 years ago
parent
commit
2c5f513994
  1. 2
      src/notebook.cc

2
src/notebook.cc

@ -240,7 +240,7 @@ bool Notebook::close_current_page() {
int page = get_current_page(); int page = get_current_page();
int index=get_index(page); int index=get_index(page);
if(last_index!=-1) { if(last_index!=static_cast<size_t>(-1)) {
set_current_page(page_num(*hboxes.at(last_index))); set_current_page(page_num(*hboxes.at(last_index)));
last_index=-1; last_index=-1;
} }

Loading…
Cancel
Save