Files
main/editor/geany-plugins/files/overview_plugin_test.patch
T
2020-04-16 14:50:38 +03:00

22 lines
785 B
Diff

diff --git a/overview/overview/overviewscintilla.c b/overview/overview/overviewscintilla.c
index 41840638..7158179e 100644
--- a/overview/overview/overviewscintilla.c
+++ b/overview/overview/overviewscintilla.c
@@ -796,14 +796,14 @@ overview_scintilla_get_property (GObject *object,
break;
case PROP_OVERLAY_COLOR:
{
- OverviewColor color;
+ OverviewColor color = { 0 };
overview_scintilla_get_overlay_color (self, &color);
g_value_set_boxed (value, &color);
break;
}
case PROP_OVERLAY_OUTLINE_COLOR:
{
- OverviewColor color;
+ OverviewColor color = { 0 };
overview_scintilla_get_overlay_outline_color (self, &color);
g_value_set_boxed (value, &color);
break;