1999-06-04 Robert Brady <rwb197@ecs.soton.ac.uk>
* gscreen.c (panel_list_configure_contents): Prevent divide by zero error. (Fixes bug #1360)
Этот коммит содержится в:
родитель
160f9f75b7
Коммит
eb785b90dc
@ -1,3 +1,8 @@
|
|||||||
|
1999-06-04 Robert Brady <rwb197@ecs.soton.ac.uk>
|
||||||
|
|
||||||
|
* gscreen.c (panel_list_configure_contents): Prevent
|
||||||
|
divide by zero error. (Fixes bug #1360)
|
||||||
|
|
||||||
1999-06-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
1999-06-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||||
|
|
||||||
* gmain.c (xtoolkit_init): Ignore SIGTTIN and SIGTTOU.
|
* gmain.c (xtoolkit_init): Ignore SIGTTIN and SIGTTOU.
|
||||||
|
@ -444,7 +444,7 @@ panel_file_list_configure_contents (GtkWidget *sw, WPanel *panel, int main_width
|
|||||||
usable_pixels = width - extra_pixels;
|
usable_pixels = width - extra_pixels;
|
||||||
total_columns = usable_pixels / char_width;
|
total_columns = usable_pixels / char_width;
|
||||||
extra_columns = total_columns - used_columns;
|
extra_columns = total_columns - used_columns;
|
||||||
if (extra_columns > 0) {
|
if (extra_columns > 0 && expandables > 0) {
|
||||||
expand_space = extra_columns / expandables;
|
expand_space = extra_columns / expandables;
|
||||||
extra_space = extra_columns % expandables;
|
extra_space = extra_columns % expandables;
|
||||||
} else
|
} else
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user