diff options
author | Zaffy <[email protected]> | 2014-02-20 00:39:59 +0100 |
---|---|---|
committer | Zaffy <[email protected]> | 2014-02-20 00:39:59 +0100 |
commit | 0807ec279c82e42cb455365736a2516d6d7b663e (patch) | |
tree | 19e2a7d75dd1ca834d7ee34b520c1bf78fa6f17a /src | |
parent | b9ad3e29728b506f881b130dcaba82cdefb6f64e (diff) | |
download | caja-0807ec279c82e42cb455365736a2516d6d7b663e.tar.bz2 caja-0807ec279c82e42cb455365736a2516d6d7b663e.tar.xz |
Fixed crash in caja-pathbar.c (issue #209)
Diffstat (limited to 'src')
-rw-r--r-- | src/caja-pathbar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/caja-pathbar.c b/src/caja-pathbar.c index e2d07edc..1d634db5 100644 --- a/src/caja-pathbar.c +++ b/src/caja-pathbar.c @@ -1161,7 +1161,7 @@ caja_path_bar_scroll_down (CajaPathBar *path_bar) * from the end, removing buttons until we get all the space we * need. */ gtk_widget_get_allocation (BUTTON_DATA (up_button->data)->button, &button_allocation); - while (space_available < space_needed) + while (space_available < space_needed && up_button) { space_available += button_allocation.width + path_bar->spacing; up_button = up_button->prev; |